react-restyle-components
Version:
Easy use restyle components
24 lines (23 loc) • 590 B
JavaScript
import { CheckBox } from './checkBox.component';
const meta = {
title: 'Design System/Atoms/CheckBox',
component: CheckBox,
tags: ['autodocs'],
parameters: {
componentSubtitle: `import { CheckBox } from 'react-restyle-components'`,
},
};
export default meta;
export const Primary1 = {
args: {
title: 'Banks',
data: [
{ title: 'SBI Bank', checked: false },
{ title: 'ICICI Bank', checked: false },
],
disable: false,
onChange: (item) => {
console.log({ item });
},
},
};