1.0.2 • Published 6 years ago
@sophek/use-filter-words v1.0.2
@sophek/use-filter-words
This is a custom react hook to filter bad words from a string.
Install
$ npm install @sophek/use-filter-words
Usage
const [words, setWords] = useFilterWords("What the hell is this?");
//=> "What the **** is this?!"