@ounch/react-components
v0.0.10
Published
React components lib for Ounch
Downloads
1
Readme
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
Resources
- https://www.youtube.com/watch?v=hf6Z8OZanec
