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