|
- import * as React from 'react';
- import type { Meta } from '@storybook/react';
- import { FileSelectBox as Component, FileSelectBoxProps as Props } from '.';
-
- const meta: Meta<typeof Component> = {
- component: Component,
- argTypes: {
- previewComponent: {
- table: {
- disable: true,
- }
- },
- onChange: {
- table: {
- disable: true,
- },
- action: 'changed',
- },
- },
- args: Component.defaultProps ?? {},
- };
-
- export const FileSelectBox = (args: Omit<Props, 'ref'>) => (
- <Component
- {...args}
- />
- );
-
- export default meta;
|