check
Code copied to clipboard.
close
menu
menu_open
menu

LkSelectContext

Describes the Select component’s context, primarily used for utility logic behind the scenes.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

interface LkSelectContext {

 open: boolean;

 setOpen: (open: boolean) => void;

 triggerRef: React.RefObject<HTMLElement | null>;

 contentRef: React.RefObject<HTMLDivElement | null>;

 selectedValue: string;

 setSelectedValue: (value: string) => void;

 options: Option[];

 onChange?: (event: React.ChangeEvent<HTMLSelectElement>) => void;

 name?: string;

}

Related Components

Components that use this type.

No items found.

Related Types

Types with similar roles.

No items found.