UNPKG

baseui

Version:

A React Component library implementing the Base design language

25 lines (24 loc) 809 B
import type * as React from 'react'; import type { Theme } from '../styles/types'; import type { Override } from '../helpers/overrides'; export type BaseProviderOverrides = { AppContainer?: Override; LayersContainer?: Override; }; export type BaseProviderProps = { /** Children element to be rendered. Normally the BaseProvider should be added at the top level of an application. */ children: React.ReactNode | undefined | null; overrides?: BaseProviderOverrides; /** The base theme to be used in the application. */ theme: Theme; /** A value of z-index to be set on the layers. */ zIndex?: number; }; export type PageMargins = { paddingInlineStart: string; paddingInlineEnd: string; }; export type MediaQueryPageMargins = { [key: string]: PageMargins; };