MCPcopy Create free account
hub / github.com/downshift-js/downshift / getExampleLabelClassName

Function getExampleLabelClassName

docusaurus/utils.ts:18–24  ·  view source on GitHub ↗
(selectedItem?: string | null)

Source from the content-addressed store, hash-verified

16]
17
18export function getExampleLabelClassName(selectedItem?: string | null) {
19 if (!selectedItem) {
20 return 'example-label'
21 }
22
23 return `example-label example-color-${selectedItem.toLowerCase()}`
24}

Callers 5

ComboBoxFunction · 0.90
DropdownSelectFunction · 0.90
DropdownMultipleComboboxFunction · 0.90
DropdownMultipleSelectFunction · 0.90
DropdownComboboxFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…