html-divider
creates an hr-like divider with the text in the middle
Install
npm install --save html-divider
Usage
import React Component from 'react' import Divider from 'html-divider' { return <div> <p>Section 1</p> <Divider/> <p>Section 2</p> <Divider ="#f00" ="or" /> <p>Section 3</p> </div> }
License
MIT © gianebao