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

Function useKeyOrValueAndKey

src/lib/classNameBuilders.js:48–48  ·  view source on GitHub ↗
(val, key)

Source from the content-addressed store, hash-verified

46 * <div class="ui left pointing label"></div>
47 */
48export const useKeyOrValueAndKey = (val, key) => val && (val === true ? key : `${val} ${key}`)
49
50//
51// Prop to className exceptions

Callers 15

Popup.jsFile · 0.90
DropdownClass · 0.90
TableFunction · 0.90
GridFunction · 0.90
renderMethod · 0.90
renderMethod · 0.90
Message.jsFile · 0.90
ItemGroupFunction · 0.90
LoaderFunction · 0.90
renderMethod · 0.90
renderMethod · 0.90
StepGroupFunction · 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…