Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Semantic-Org/Semantic-UI-React
/ factories-test.js
File
factories-test.js
test/specs/lib/factories-test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
_ from
'lodash'
2
import
React, { isValidElement } from
'react'
3
4
import
{ createShorthand, createShorthandFactory } from
'src/lib'
Callers
nothing calls this directly
Calls
12
getShorthand
Function · 0.85
overrideProps
Function · 0.85
mapValueToProps
Function · 0.85
itReturnsNull
Function · 0.85
itReturnsNullGivenDefaultProps
Function · 0.85
itMergesClassNames
Function · 0.85
itAppliesProps
Function · 0.85
itAppliesDefaultProps
Function · 0.85
itReturnsAValidElement
Function · 0.85
itDoesNotIncludePropsFromMapValueToProps
Function · 0.85
itOverridesDefaultProps
Function · 0.85
itOverridesDefaultPropsWithFalseyProps
Function · 0.85
Tested by
no test coverage detected