MCPcopy 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 */
138const getModalAttribute = component => (instance, attr) =>
139 modalComponent(component)(instance).getAttribute(attr);
140
141/**
142 * Return an element from a react component.

Callers 1

helper.jsFile · 0.85

Calls 1

modalComponentFunction · 0.85

Tested by

no test coverage detected