Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactjs/react-modal
/ getModalAttribute
Function
getModalAttribute
specs/helper.js:138–139 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
* @
return
{String}
137
*/
138
const
getModalAttribute = component => (instance, attr) =>
139
modalComponent(component)(instance).getAttribute(attr);
140
141
/**
142
* Return an element from a react component.
Callers
1
helper.js
File · 0.85
Calls
1
modalComponent
Function · 0.85
Tested by
no test coverage detected