UNPKG

@teamsparta/stack-core

Version:
14 lines (11 loc) 557 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { ThemeName } from '@teamsparta/stack-tokens'; import { PropsWithChildren } from 'react'; import { BreakpointContextValue } from './responsive/StackBreakpointProvider.mjs'; import './responsive/types.mjs'; interface StackProviderProps { breakpoints?: BreakpointContextValue; theme?: ThemeName; } declare function StackProvider({ children, breakpoints, theme, }: PropsWithChildren<StackProviderProps>): react_jsx_runtime.JSX.Element; export { StackProvider, type StackProviderProps };