import React from 'react' import type { Meta, StoryObj } from '@storybook/react' import { TextAreaField } from './TextAreaField' import Form from 'semantic-ui-react/dist/commonjs/collections/Form/Form' const textAreaValue = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. ' + "Lorem Ipsum has been the industry's standard dummy text ever since the 1500s" + ', when an unknown printer took a galley of type and scrambled' const meta: Meta = { title: 'TextArea', component: TextAreaField } export default meta type Story = StoryObj export const Placeholder: Story = { render: () => ( ) } export const WithoutLabel: Story = { render: () => } export const WithoutLabelInForm: Story = { render: () => (
) } export const WithLabel: Story = { render: () => ( ) } export const WithTooltip: Story = { render: () => ( ) } export const WithoutLabelAndMaxLength: Story = { render: () => ( ) } export const WithLabelAndMaxLength: Story = { render: () => ( ) } export const WithLabelInForm: Story = { render: () => (
) } export const WithErrorWarningOrInfo: Story = { render: () => ( <>


) }