UNPKG

@datalayer/core

Version:
18 lines (17 loc) 619 B
import { type CSSProperties } from 'react'; import { ThemeProviderProps } from '@primer/react'; export interface IDatalayerThemeProviderProps extends ThemeProviderProps { /** * Whether the components is embedded in Jupyter UI or not. */ inJupyterLab?: boolean; /** * Base styles */ baseStyles?: CSSProperties; } /** * ThemeProvider component changing color mode with JupyterLab theme * if embedded in Jupyter or with the browser color scheme preference. */ export declare function DatalayerThemeProvider(props: React.PropsWithChildren<IDatalayerThemeProviderProps>): JSX.Element;