@mui/styled-engine-sc
Version:
styled() API wrapper package for styled-components.
7 lines • 348 B
TypeScript
import * as React from 'react';
import { CSSObject, StyleFunction } from 'styled-components';
export interface GlobalStylesProps<Theme extends object = {}> {
defaultTheme?: object;
styles: string | CSSObject | StyleFunction<Theme>;
}
export default function Global<Theme extends object = {}>(props: GlobalStylesProps<Theme>): React.JSX.Element;