Simple common boilerplate front-end patterns to make life easy.
Use the package manager npm to install reg-components.
npm install reg-components
import { SliceButton } from 'reg-components'
const App = () => {
return <SliceButton/>
}
http://reggieanim.github.io/reg-components
Props | Description |
---|---|
onClick | runs a callback function when clicked |
text | label for button default(Button) |
style | apply styling to button, default styles will be used if not applied |
href | link to another page |