Skip to content

nicholasspencer/react-marks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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