Design system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
531 B

  1. import * as React from 'react';
  2. import type { Meta } from '@storybook/react';
  3. import { FileSelectBox as Component, FileSelectBoxProps as Props } from '.';
  4. const meta: Meta<typeof Component> = {
  5. component: Component,
  6. argTypes: {
  7. previewComponent: {
  8. table: {
  9. disable: true,
  10. }
  11. },
  12. onChange: {
  13. table: {
  14. disable: true,
  15. },
  16. action: 'changed',
  17. },
  18. },
  19. args: Component.defaultProps ?? {},
  20. };
  21. export const FileSelectBox = (args: Omit<Props, 'ref'>) => (
  22. <Component
  23. {...args}
  24. />
  25. );
  26. export default meta;