import { loadById , Theme } from '@thematic/core' ; import { createContext } from 'react' ; export const defaultTheme = loadById ( 'default' ) as Theme ; /**
 * Thematic context object for use in React apps
 */ export const ThematicContext = createContext ( defaultTheme ) ;