@mattilsynet/designsystem-svelte
Version:
Design system for Mattilsynet
26 lines (25 loc) • 799 B
TypeScript
import type { Snippet } from 'svelte';
import '@u-elements/u-datalist';
import { type ErrorDetail } from '../../../ts';
declare const Combobox: import("svelte").Component<{
inputName?: string;
listName?: string;
inputLabel?: string;
inputValue?: string;
inputIsRequired?: boolean;
inputHelpText?: string;
inputClass?: string;
inputError?: ErrorDetail;
apiError?: ErrorDetail;
hiddenErrorText?: string;
textOptional?: string;
showOptionalText?: boolean;
formInProgressAriaLabel?: string;
isLoading?: boolean;
inputRef?: HTMLInputElement;
isFetchFallback?: boolean;
onInput?: (e: Event) => Promise<void>;
options?: Snippet;
}, {}, "inputValue" | "inputRef">;
type Combobox = ReturnType<typeof Combobox>;
export default Combobox;