@octopusdeploy/design-system-components
Version:
The design systems component library.
14 lines (13 loc) • 502 B
TypeScript
import type { IconProps } from "@octopusdeploy/design-system-icons";
import type { AvatarProps } from "../../Avatar";
export interface SelectOption {
label: string;
value: string;
description?: string;
prefix?: React.ReactElement<IconProps> | React.ReactElement<AvatarProps>;
}
export interface SelectOptionProps {
option: SelectOption;
selected: boolean;
}
export declare function SelectOption({ option, selected }: SelectOptionProps): import("react/jsx-runtime").JSX.Element;