UNPKG

alouette

Version:

A modern, customizable design system built on top of NativeWind v5 with configurable defaults

16 lines • 777 B
import type { ReactNode, Ref } from "react"; import { type PressableProps, type View as RNView } from "react-native"; import type { SelectOption } from "./Select.shared"; export interface ListboxOptionProps extends Omit<PressableProps, "children" | "disabled"> { option: SelectOption; selected: boolean; /** * Position of a JS-driven cursor (downshift's `highlightedIndex`), which * replaces CSS hover. Left undefined, the row lights on hover. */ highlighted?: boolean; ref?: Ref<RNView>; } /** One `role="option"` row of a listbox, shared by `Select` and `InputTextAutocomplete`. */ export declare function ListboxOption({ option, selected, highlighted, ...props }: ListboxOptionProps): ReactNode; //# sourceMappingURL=ListboxOption.d.ts.map