Skip to content

Commit

Permalink
chore: makes clear that the data comes from a hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlaessig authored Nov 12, 2024
1 parent d31204c commit d95b1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ yarn add react-native-autocomplete-input
```javascript
function MyComponent() {
const [ query, setQuery ] = useState('');
const data = filterData(query);
const data = useFilteredData(query);

return (
<Autocomplete
Expand Down

0 comments on commit d95b1c6

Please sign in to comment.