Design system.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

27 行
472 B

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