woocommerce/plugins/woocommerce-blocks/packages/components/checkbox-control/stories/index.stories.tsx

26 lines
542 B
TypeScript
Raw Normal View History

/**
* External dependencies
*/
import type { Story, Meta } from '@storybook/react';
/**
* Internal dependencies
*/
import CheckboxControl, { CheckboxControlProps } from '..';
export default {
title: 'External Components/CheckboxControl',
component: CheckboxControl,
args: {
instanceId: 'my-checkbox-id',
label: 'Check me out',
},
} as Meta< CheckboxControlProps >;
const Template: Story< CheckboxControlProps > = ( args ) => (
<CheckboxControl { ...args } />
);
export const Default = Template.bind( {} );
Default.args = {};