Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Latest commit

 

History

History
executable file
·
40 lines (29 loc) · 640 Bytes

README.md

File metadata and controls

executable file
·
40 lines (29 loc) · 640 Bytes

BM-Kit

BM-Kit is BoilerMake's UI library. We use this as the basis for our frontend styling.

Components

Button

import { Button } from 'bm-kit';

<Button
	className={PropTypes.string}
	size={PropTypes.oneOf([undefined, 'small', 'large'])}
	mood={PropTypes.oneOf([undefined, 'good', 'bad'])}
	onClick={PropTypes.func} >
	Button Text
</Button>

Text Input

import { TextInput } from 'bm-kit';

<TextInput
	label={PropTypes.string}
	placeholder={PropTypes.oneOf([undefined, 'small', 'large'])}
/>

Card

import { Card } from 'bm-kit';

<Card>
	<div>You can even put HTML inside!</div>
</Card>