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.
 
 
 

27 rivejä
466 B

  1. import * as React from 'react';
  2. import type { Meta } from '@storybook/react';
  3. import { TagInput as Component, TagInputProps 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 TagInput = (args: Omit<Props, 'ref'>) => (
  19. <Component
  20. {...args}
  21. />
  22. );
  23. export default meta;