MCPcopy Create free account
hub / github.com/react-component/select / DefaultOptionType

Interface DefaultOptionType

src/Select.tsx:99–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99export interface DefaultOptionType extends BaseOptionType {
100 label?: React.ReactNode;
101 value?: string | number | null;
102 children?: Omit<DefaultOptionType, 'children'>[];
103}
104
105export type SelectHandler<ValueType, OptionType extends BaseOptionType = DefaultOptionType> = (
106 value: ValueType,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…