rn-text-highlight
v1.0.4
Published
react-naitve-highlight component
Readme
rn-text-highlight
Installation
npm i rn-text-highlightbase useage
<RnTextHighlight originText={employeeName} keyword={keyword} />demo gif
Available props
| Name | Type | Default | Description |
| ------------ | -------- | --------------- | ---------------- |
| originText | string | - | The default text |
| keyword | string | - | keyword |
| keywordStyle | Object | color: "#f40" | keyword style |
| textStyle | Object | - | text style |
