UNPKG

860 BTypeScriptView Raw
1import * as React from 'react';
2import { StyledComponentProps } from '../styles';
3
4export interface CssBaselineProps extends StyledComponentProps<never> {
5 /**
6 * You can wrap a node.
7 */
8 children?: React.ReactNode;
9 /**
10 * Enable `color-scheme` CSS property to use `theme.palette.mode`.
11 * For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
12 * For browser support, check out https://caniuse.com/?search=color-scheme
13 * @default false
14 */
15 enableColorScheme?: boolean;
16}
17
18/**
19 * Kickstart an elegant, consistent, and simple baseline to build upon.
20 *
21 * Demos:
22 *
23 * - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/)
24 *
25 * API:
26 *
27 * - [CssBaseline API](https://mui.com/material-ui/api/css-baseline/)
28 */
29export default function CssBaseline(props: CssBaselineProps): React.JSX.Element;