import * as React from 'react'; import { PartialBy } from '../utils/Typescript'; import { Theme } from '../../types/Theme'; export type OmitThemeContext
= PartialBy<
P,
'theme'
>;
export interface ThemeContextProps {
theme?: Theme;
}
const ThemeContext = React.createContext