Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/primer/react
/ getElement
Function
getElement
packages/react/src/utils/testing.tsx:205–205 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
203
options = options || {}
204
205
const getElement = () => (toRender ? toRender() : <Component />)
206
207
if (!options.skipSx) {
208
it(
'implements sx prop behavior'
, () => {
Callers
1
behavesAsComponent
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected