mist-components
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

MistComponents

A React components Library

Components

PinCode

Can be used to create pin code inputs

Usage:

<Pincode
    n={ /* Number of pin code letters */ }
    validator={ /* A function that takes a char and returns if it's valid or not */ }
    filled={ /* Triggered when all inputs are filled */ }
    submit={ /* Triggered when the user presses Enter in the input and all the inputs are full */ }
    classes={ {
        container: 'container-class', // Custom css class for the pin code input container,
        case: 'case-class', // Custom css class for each pin code input
    } }
/>

Readme

Keywords

none

Package Sidebar

Install

npm i mist-components

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

132 kB

Total Files

9

Last publish

Collaborators

  • mathys-gasnier