MCPcopy
hub / github.com/Semantic-Org/Semantic-UI-React / renderLabel

Function renderLabel

test/specs/modules/Dropdown/Dropdown-test.js:1601–1601  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1599 it('enables custom rendering', () => {
1600 const value = [_.head(options).value]
1601 const renderLabel = () => ({ content: 'My custom text!', as: 'div' })
1602
1603 wrapperRender(
1604 <Dropdown options={options} selection value={value} multiple renderLabel={renderLabel} />,

Callers 1

DropdownClass · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…