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

Function getLabel

src/OptionList.tsx:271–271  ·  view source on GitHub ↗
(item: Record<string, any>)

Source from the content-addressed store, hash-verified

269 const omitFieldNameList = Object.keys(fieldNames).map((key) => fieldNames[key]);
270
271 const getLabel = (item: Record<string, any>) => item.label;
272
273 function getItemAriaProps(item: FlattenOptionData<BaseOptionType>, index: number) {
274 const { group } = item;

Callers 2

renderItemFunction · 0.85
OptionListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…