rn-text-highlight

1.0.4 • Public • Published

rn-text-highlight

Installation

npm i rn-text-highlight

base 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

Package Sidebar

Install

npm i rn-text-highlight

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

5.01 kB

Total Files

7

Last publish

Collaborators

  • yaogengzhu