UNPKG

@spaced-out/ui-design-system

Version:
264 lines 6.18 kB
import * as React from 'react'; import type { TextareaProps } from './Textarea'; declare const _default: { tags: string[]; title: string; component: import("flow-to-typescript-codemod").Flow.AbstractComponent<TextareaProps, HTMLTextAreaElement>; argTypes: { size: { description: string; options: string[]; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; value: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; name: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; disabled: { description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; required: { description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; placeholder: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; locked: { description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; error: { description: string; control: { type: string; }; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; errorText: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; label: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; helperText: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; classNames: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; textCountLimit: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; onChange: { description: string; action: string; table: { type: { summary: string; }; }; }; onFocus: { description: string; action: string; table: { type: { summary: string; }; }; }; onBlur: { description: string; action: string; table: { type: { summary: string; }; }; }; onKeyDown: { description: string; action: string; table: { type: { summary: string; }; }; }; }; parameters: { docs: { subtitle: string; description: { component: string; }; }; storySource: { componentPath: string; }; }; }; export default _default; export declare const _Default: { (args: TextareaProps): React.JSX.Element; args: { label: string; placeholder: string; size: string; }; }; export declare const _WithHelperText: { (args: TextareaProps): React.JSX.Element; args: { label: string; placeholder: string; helperText: string; size: string; }; }; export declare const _Required: { (args: TextareaProps): React.JSX.Element; args: { label: string; placeholder: string; required: boolean; size: string; }; }; export declare const _TextCounter: { (args: TextareaProps): React.JSX.Element; args: { label: string; placeholder: string; helperText: string; size: string; textCountLimit: number; }; }; export declare const _Error: { (args: TextareaProps): React.JSX.Element; args: { label: string; placeholder: string; required: boolean; size: string; error: boolean; errorText: string; }; }; //# sourceMappingURL=Textarea.stories.d.ts.map