react-restyle-components
Version: 
Easy use restyle components
21 lines (20 loc) • 507 B
JavaScript
import { InputPin } from './input-pin.component';
const meta = {
    title: 'Design System/Atoms/InputPin',
    component: InputPin,
    tags: ['autodocs'],
    parameters: {
        componentSubtitle: `import { InputPin } from 'react-restyle-components'`,
    },
};
export default meta;
export const Primary = {
    args: {
        title: 'Enter your Aadhaar Number',
        hasError: true,
        defaultPin: [],
        onPinChanged: (item) => {
            console.log({ item });
        },
    },
};