Design system.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

27 wiersze
496 B

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