0.8.0 • Published 5 years ago
newbank-components-lib v0.8.0
New Bank components lib
Components library for New Bank projects.
Usage
1) Install the library:
npm install newbank-components-lib
2) Import styles in entry point of your application (src/index.js):
import 'newbank-components-lib/dist/style.css'
3) Use any component, you like:
import * as React from 'react';
import { Button } from 'newbank-components-lib';
const App = () => (
<React.Fragment>
<Button onClick={() => { console.log('Clicked!'); }}>
Hello World
</Button>
</React.Fragment>
);
export default App;
List of components
1) Row 2) Column 3) Page 4) Card 5) Button 6) TextInput 7) Heading 8) Spinner