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

Function useKeyOnly

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

Source from the content-addressed store, hash-verified

20 * <div class="ui tag label"></div>
21 */
22export const useKeyOnly = (val, key) => val && key
23
24/**
25 * Props that require both a key and value to create a className.

Callers 15

Popup.jsFile · 0.90
DropdownClass · 0.90
renderMethod · 0.90
DropdownMenuFunction · 0.90
renderFunction · 0.90
TransitionClass · 0.90
renderMethod · 0.90
renderMethod · 0.90
Modal.jsFile · 0.90
ModalDimmerFunction · 0.90
ModalContentFunction · 0.90
renderMethod · 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…