react-components-library-newbank
v2.4.1
Published
Components library for New Bank projects
Maintainers
Readme
New Bank React components lib
Components library for New Bank projects.
Usage
- Install the library:
npm install newbank-react-components-lib - Import styles in entry point of your application (src/index.js):
import 'newbank-react-components-lib/dist/style.css' - Use any component, you like:
import * as React from 'react';
import { Button } from 'newbank-react-components-lib';
const App = () => (
<React.Fragment>
<Button onClick={() => { console.log('Clicked!'); }}>
Hello World
</Button>
</React.Fragment>
);
export default App;List of components
- Row
- Column
- Page
- Card
- Button
- Radio
- Checkbox
- TextLink
- TextInput
- TextArea
- OutlinedTextInput
- OutlinedTextArea
- Slider
- Select
- Heading
- Spinner
- MessageBox
- Modal
