1 | NPM install
|
2 | ---
|
3 | `npm i nuworks-ui-library`
|
4 |
|
5 | Usage
|
6 | ---
|
7 | ```javascript
|
8 | import {Checkbox, Input, InputGroup, Select} from 'nuworks-ui-library';
|
9 |
|
10 | class App extends React.Component {
|
11 | render(){
|
12 | render(
|
13 | <React.Fragment>
|
14 | <Checkbox checked type="primary">Todo Components</Checkbox>
|
15 | <Input block placeholder="Domz Garcia"/>
|
16 | <InputGroup compact>
|
17 | <Input block placeholder="First name"/>
|
18 | <Input block placeholder="Family name"/>
|
19 | </InputGroup>
|
20 | <Select data=[{label:'Domz Garcia', value:'Domz Garcia'}] />
|
21 | </React.Fragment>
|
22 | )
|
23 | }
|
24 | }
|
25 | ```
|
26 |
|
27 | Available Components
|
28 | ---
|
29 | - [x] Input
|
30 | - [x] Input Group
|
31 | - [x] Select
|
32 | - [x] Checkbox
|
33 |
|
34 | With Typescript
|
35 | ---
|
36 | - [x] Input Group |
\ | No newline at end of file |