@compositive/foundation
Version:
Compositive framework foundation package.
8 lines (5 loc) • 314 B
JavaScript
import { createContext } from 'react';
const ThemeContext = createContext(undefined);
const THEME_NOT_PROVIDED_ERROR = "No theme found in the component hierachy. Please wrap your components in a ThemeProvider element.";
export { THEME_NOT_PROVIDED_ERROR, ThemeContext };
//# sourceMappingURL=ThemeContext.js.map