UNPKG

@mattilsynet/designsystem-svelte

Version:

Design system for Mattilsynet

23 lines (22 loc) 716 B
import type { AutocompleteType, ErrorDetail, InputModeType } from '../../../ts'; interface Props { value?: string; name: string; label: string; labelClass?: string; error?: ErrorDetail; helpText?: string | undefined; textOptional?: string; showOptionalText?: boolean; hiddenErrorText?: string; maxlength?: number; placeholder?: string; isRequired?: boolean; inputmode?: InputModeType; autocomplete?: AutocompleteType; hasTransition?: boolean; inputClass?: string; } declare const TextInputHorizontal: import("svelte").Component<Props, {}, "value">; type TextInputHorizontal = ReturnType<typeof TextInputHorizontal>; export default TextInputHorizontal;