MrBartusek / gif-picker-react

Tenor GIF Picker component for React ⚛️
http://dokurno.dev/gif-picker-react/
MIT License
38 stars 12 forks source link

Gif picker react contentFilter is not working #26

Closed Ramkumar-r7 closed 6 months ago

Ramkumar-r7 commented 8 months ago

So I was using gif-picker-react:'1.3.2 and this is how I was using the gif picker in my code ,I was trying to pass contentFilter as OFF image image (1) but still i am getting those contents

Ramkumar-r7 commented 8 months ago

So I was using gif-picker-react:'1.3.2 and this is how I was using the gif picker in my code ,I was trying to pass contentFilter as OFF image image (1) but still i am getting those contents

In the above I have passed HIGH but I have tried OFF also its not reflecting and I have the apikey as well

MrBartusek commented 6 months ago

Hey, I've just checked that and it seems to be working as expected. Passing contentFilter={ContentFilter.HIGH} produces more friendly search results and category preview images.

For example one of today's featured categories kissing shows vastly different results depending on this prop:

With ContentFilter.OFF (default) it shows more verbose results:

image

And ContentFilter.HIGH shows filtered results:

image

In the above I have passed HIGH but I have tried OFF and it is not reflecting and I have the API key as well

This is expected - ContentFilter.OFF is the default