Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 445 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 445 Bytes

react-marks

Provides a simple React component that wraps substrings in HTML <mark> tags.

props

  • component : String/ReactClass type (<span> by default)
  • markComponent : String/ReactClass type (<mark> by default)
  • text : String
  • marks : Array of String/RegExp

in action

pbr marks

lumber marks