import React from "react"; import { ListboxItemClassNameContract, ManagedClasses } from "@microsoft/fast-components-class-name-contracts-base"; export declare type ListboxItemManagedClasses = ManagedClasses; export declare type ListboxItemUnhandledProps = React.HTMLAttributes; export interface ListboxItemHandledProps extends ListboxItemManagedClasses { /** * The children of the listbox item */ children?: React.ReactNode; /** * If the item is disabled */ disabled?: boolean; /** * The value of the item */ value: string; /** * The unique id for the item */ id: string; /** * Friendly string that may be used in UI display */ displayString?: string; /** * Callback for when an item is invoked * Returns the prop contract for the invoked listbox item */ onInvoke?: (e: React.MouseEvent | React.KeyboardEvent, props: ListboxItemProps) => void; } export declare type ListboxItemProps = ListboxItemHandledProps & ListboxItemUnhandledProps;