Files
svelte-formula11/src/lib/components/form/Dropdown.ts
Christoph Urlacher 2d2fd9f622 Lib: Remove non-lazy image
We need the width/height anyways to determine the max size, so don't
bother with non-lazy stuff
2024-12-27 19:16:02 +01:00

17 lines
415 B
TypeScript

export interface DropdownOption {
/** The label displayed in the list of options. */
label: string;
/** The value assigned to the dropdown value variable */
value: string;
/** An optional icon displayed left to the label */
icon_url?: string;
/** The icon width. Required if icon_url is set */
icon_width?: number;
/** The icon height. Required if icon_url is set */
icon_height?: number;
}