UNPKG

@spark-web/box

Version:

--- title: Box storybookPath: page-layout-box--default isExperimentalPackage: false ---

8 lines (7 loc) 364 B
import type { ReactElement } from 'react'; export declare type BackgroundProviderProps = { type: 'light' | 'dark'; children: ReactElement; }; /** Enforce background "lightness" without applying a background color. */ export declare const BackgroundProvider: ({ type, children, }: BackgroundProviderProps) => import("react/jsx-runtime").JSX.Element | null;