UNPKG
@empoleon/spotlight
Version:
latest (8.0.0)
8.0.0
Command center components for react and Empoleon
empoleon.dev
empoleondev/empoleon
@empoleon/spotlight
/
esm
/
Spotlight.context.mjs
7 lines
(4 loc)
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{ createSafeContext }
from
'@empoleon/core'
;
const
[
SpotlightProvider
, useSpotlightContext] =
createSafeContext
(
"Spotlight component was not found in tree"
);
export
{
SpotlightProvider
, useSpotlightContext };
//# sourceMappingURL=Spotlight.context.mjs.map