(css, names)
| 20302 | |
| 20303 | /* takes a css factory function and outputs an element factory */ |
| 20304 | var wrapAsElement = function wrapAsElement(css, names) { |
| 20305 | return function () { |
| 20306 | var _props; |
| 20307 | |
| 20308 | var props = (_props = {}, _props[SC_ATTR] = stringifyNames(names), _props); |
| 20309 | |
| 20310 | var nonce = getNonce(); |
| 20311 | if (nonce) { |
| 20312 | // $FlowFixMe |
| 20313 | props.nonce = nonce; |
| 20314 | } |
| 20315 | |
| 20316 | // eslint-disable-next-line react/no-danger |
| 20317 | return React__default.createElement('style', _extends({}, props, { dangerouslySetInnerHTML: { __html: css() } })); |
| 20318 | }; |
| 20319 | }; |
| 20320 | |
| 20321 | var getIdsFromMarkersFactory = function getIdsFromMarkersFactory(markers) { |
| 20322 | return function () { |
no test coverage detected