React component library for Generosity Market app
A library of React components created using
create-react-app
.
Installation
Run the following command:
npm install --save @jgordy24/stalls-ui
Import/using component example
import { Button } from '@jgordy24/stalls-ui'
const App = () => {
const handleClick => (e) => {
/* do something */
};
return (
<div>
<Button
bsStyle='success'
label='label-text-here'
onClick={handleClick}
/>
</div>
);
}
More examples coming soon