UNPKG

@mattilsynet/designsystem-svelte

Version:

Design system for Mattilsynet

29 lines (28 loc) 900 B
import type { AutocompleteType, ErrorDetail, InputModeType } from '../../../ts'; declare const TextArea: import("svelte").Component<{ value?: string; name: string; label: string; labelClass?: string; countCharactersLeftLabel?: string; countCharactersTooManyLabel?: string; tooManyCharactersErrorText?: string; error?: ErrorDetail; helpText?: string; textOptional?: string; helpTextClass?: string; showOptionalText?: boolean; hiddenErrorText?: string; helpTextPlacement?: "above" | "below"; textAreaRef?: HTMLElement; textAreaClass?: string; rows?: number; cols?: number; maxlength?: number; placeholder?: string; isRequired?: boolean; inputmode?: InputModeType; autocomplete?: AutocompleteType; }, {}, "error" | "value" | "textAreaRef">; type TextArea = ReturnType<typeof TextArea>; export default TextArea;