interface AdditionalProps {
    children?: ReactNode;
    customAttribute?: {
        attribute: string;
        value: string | number;
    };
    fullWidth?: boolean;
    helperText?: string;
    isLoading?: boolean;
    isOpen?: boolean;
    labelId: string;
    labelText: string;
    lang?: "sv" | "en";
    required?: boolean;
    rounded?: boolean;
    startIcon?: ReactElement<any, string | JSXElementConstructor<any>>;
}

Properties

children?: ReactNode
customAttribute?: {
    attribute: string;
    value: string | number;
}

Used for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]".

fullWidth?: boolean
helperText?: string
isLoading?: boolean

If true, a loading skeleton will be rendered instead of the component.

isOpen?: boolean
labelId: string
labelText: string
lang?: "sv" | "en"

Language used for internal translations.

required?: boolean
rounded?: boolean
startIcon?: ReactElement<any, string | JSXElementConstructor<any>>