/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import type { Theme } from '@thematic/core' import { loadById } from '@thematic/core' import { createContext } from 'react' export const defaultTheme = loadById('default') /** * Thematic context object for use in React apps */ export const ThematicContext: React.Context = createContext(defaultTheme)