import React from 'react';
import { Textarea } from './react';
export default {
    title: 'Forms/Textarea',
    render(args) {
        return React.createElement(Textarea, { ...args });
    },
    component: Textarea,
};
export const Default = {
    args: {
        label: 'Email',
    },
};
export const WithPlaceholder = {
    args: {
        label: 'Email',
        placeholder: 'user@example.com',
    },
};
export const WithHelpText = {
    args: {
        label: 'Password',
        helpText: 'Must be at least 8 characters',
    },
};
export const Invalid = {
    args: {
        label: 'Email',
        invalid: true,
        helpText: 'Please enter a valid email address',
        value: 'invalid-email',
    },
};
export const Disabled = {
    args: {
        label: 'Email',
        disabled: true,
        value: 'user@example.com',
    },
};
