Closed cctv1005s closed 5 years ago
When i pass a number variable to this props, i got an empty div in screen
And then i convert it to string, this component works..
Is this a bug or feature?
It's a string. It's in the docs: https://github.com/bvaughn/react-highlight-words#props
type: string
what happens?
When i pass a number variable to this props, i got an empty div in screen
And then i convert it to string, this component works..
So
Is this a bug or feature?