UNPKG

@atlaskit/app-provider

Version:

A top level provider for the Design System.

19 lines (18 loc) 531 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import type { ThemeColorModes } from '@atlaskit/tokens/theme-color-modes'; import { type Theme } from './context/theme'; export interface ThemeProviderProps { defaultColorMode?: ThemeColorModes; defaultTheme?: Partial<Theme>; children: React.ReactNode; } /** * __Theme provider__ * * Provides global theming configuration. */ export declare function ThemeProvider({ children, defaultColorMode, defaultTheme, }: ThemeProviderProps): JSX.Element;