useTagging
Introduction
The useTagging
is a custom hook that provides all the functionality to integrate a user-tagging feature in your application. You can use this to implement a custom UI for user-tagging feature.
Property | Type | Description |
---|---|---|
taggingList | Tag[] | List of tags |
clearTaggingList | () => void | Function to clear the tagging list |
fetchTaggingList | (pg?: number) => void | Function to fetch the tagging list |
setTaggingString | (str: string | null)=>void | Function to set the tagging string |
fetchMoreTags | boolean | Boolean indicating if more tags can be fetched |
Example
For example implementation, checkout here