reg-components

Simple common boilerplate front-end patterns to make life easy.

Installation

Use the package manager npm to install reg-components.

npm install reg-components

Usage

import { SliceButton } from 'reg-components'

const App = () => {
    return <SliceButton/>
}

Demo

http://reggieanim.github.io/reg-components

Components

SliceButton

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

License

MIT