sakok-ant4-component
v0.4.2
Published
***Note: You should add Antd style (`import 'antd/dist/antd.css'`). In this component we don't import it to avoid css conflicts between Antd v3 and Antd v4.***
Downloads
15
Readme
Sakok Ui
Install
Note: You should add Antd style (import 'antd/dist/antd.css'
). In this component we don't import it to avoid css conflicts between Antd v3 and Antd v4.
install package
- Run
npm i sakok-ant4-component
- Run
add component to your code
- import on top of your app
import SearchUI from 'sakok-ant4-component';
- use in your jsx code:
// importing import SearchUi from 'sakok-ant4-component'; // rendering const defaults = { importSampleItems: true, companyName: 'ساکوک', addedByImage: 'https://trello-members.s3.amazonaws.com/5c7bb50bad68bc2f77f4023d/5ba9e67cf44559a074f6185de3e06455/50.png' }; return (<Search data={undefined} clickable={false} selectable={true} float="right" defaults={defaults} />)
- import on top of your app
dependence
- node: 8.10
- npm: 6
- antd: 4
- less: last
- react: 16.8.6