@mattilsynet/designsystem-svelte
Version:
Design system for Mattilsynet
46 lines (45 loc) • 1.5 kB
TypeScript
import '@u-elements/u-datalist';
import { type ErrorDetail, type InputModeType } from '../../../ts';
interface Props {
inputName?: string;
listName?: string;
streetLabel?: string;
streetName?: string;
streetValue?: string;
streetIsRequired?: boolean;
streetError?: ErrorDetail;
streetHelpText?: string;
streetInputClass?: string;
streetInputmode?: InputModeType;
streetFallbackLabel?: string;
streetFallbackHelpText?: string;
postalCodeLabel?: string;
postalCodeName?: string;
postalCodeValue?: string;
postalCodeIsRequired?: boolean;
postalCodeError?: ErrorDetail;
postalCodeHelpText?: string;
postalCodeInputClass?: string;
postalCodeInputmode?: InputModeType;
postalAreaLabel?: string;
postalAreaName?: string;
postalAreaValue?: string;
postalAreaIsRequired?: boolean;
postalAreaError?: ErrorDetail;
postalAreaHelpText?: string;
postalAreaInputClass?: string;
postalAreaInputmode?: InputModeType;
formInProgressAriaLabel?: string;
hiddenErrorText?: string;
textOptional?: string;
noResultsText?: string;
fetchFailedText?: string;
showOptionalText?: boolean;
loadJs?: boolean;
hits?: string;
inputError?: ErrorDetail;
isFetchFallback?: boolean;
}
declare const Address: import("svelte").Component<Props, {}, "isFetchFallback" | "streetValue" | "postalCodeValue" | "postalAreaValue">;
type Address = ReturnType<typeof Address>;
export default Address;