UNPKG

@mattilsynet/designsystem-svelte

Version:

Design system for Mattilsynet

19 lines (18 loc) 475 B
import type { ErrorDetail } from '../../../ts'; declare const Select: import("svelte").Component<{ name: string; label: string; value?: string; error?: ErrorDetail; helpText?: string; isRequired?: boolean; options?: Array<{ value: string; text: string; }>; textOptional?: string; showOptionalText?: boolean; hiddenErrorText?: string; }, {}, "value">; type Select = ReturnType<typeof Select>; export default Select;