0.0.10 • Published 1 year ago
@ounch/react-components v0.0.10
Ounch React Component Library
Install
npm i @ounch/react-components
Usage
Import component
import { CountriesPicker } from '@ounch/react-components';
Import styles in to app.js
or index.js
or index.scss
import '@ounch/react-components/dist/index.css'
Components
Country Picker
import { CountriesPicker } from '@ounch/react-components';
<CountriesPicker
initValue={['MY']}
onChange={(data) => console.log(data)}
multiple={true}
/>
Development
- run storybook for dev
npm run storybook
- build package
npm run build:lib
- publish to npm package
npm run publish