2.4.1 • Published 3 years ago

newbank-react-components-library v2.4.1

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
3 years ago

New Bank React components lib

Components library for New Bank projects.

Usage

1) Install the library: npm install newbank-react-components-lib 2) Import styles in entry point of your application (src/index.js): import 'newbank-react-components-lib/dist/style.css' 3) 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

1) Row 2) Column 3) Page 4) Card 5) Button 6) Radio 7) Checkbox 8) TextLink 9) TextInput 10) TextArea 11) OutlinedTextInput 12) OutlinedTextArea 13) Slider 14) Select 15) Heading 16) Spinner 17) Modal 18) MessageBox