UNPKG

jb-national-input

Version:
25 lines (15 loc) 1.38 kB
# jb-national-input-react react component wrapper for [jb-national-input](https://github.com/javadbat/jb-national-input) superset component on [jb-input-react](https://github.com/javadbat/jb-input-react) , just for national number input with extra filter and ready to use validator. کامپوننت ورود کد ملی برای ریاکت (ReactJS) Demo: [codeSandbox preview](https://3f63dj.csb.app/samples/jb-national-input) for just see the demo and [codeSandbox editor](https://codesandbox.io/p/sandbox/jb-design-system-3f63dj?file=%2Fsrc%2Fsamples%2FJBNationalInput.tsx) if you want to see and play with code ## usage ```jsx import {JBNationalInput} from 'jb-national-input/react'; <JBNationalInput></JBNationalInput> ``` for more information and more detail please read [jb-input/react](https://github.com/javadbat/jb-input/tree/main/react) doc. all feature of jb-input is also available here. ## Other Related Docs: - see [jb-national-input](https://github.com/javadbat/jb-national-input) if you want to use this component as a web-component. - see [All JB Design system Component List](https://github.com/javadbat/design-system/blob/main/docs/component-list.md) for more components - use [Contribution Guide](https://github.com/javadbat/design-system/blob/main/docs/contribution-guide.md) if you want to contribute in this component.