1.1.0 • Published 3 years ago

@s-ui/react-atom-validation-code v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

AtomValidationCode

Component to input a validation code.

Installation

$ npm install @s-ui/react-atom-validation-code

Usage

Basic usage

Import package and use the component

import AtomValidationCode from '@s-ui/react-atom-validation-code'

return (
  <AtomValidationCode 
    onChange={handleChange}
    label="Verification code"
    lenght={6} 
  />)

Import the styles (Sass)

@import '~@s-ui/theme/lib/index';
/* @import 'your theme'; */
@import '~@s-ui/react-atom-validation-code/lib/index';

Find full description and more examples in the demo page.