@mui/system
Version:
MUI System is a set of CSS utilities to help you build custom designs more efficiently. It makes it possible to rapidly lay out custom designs.
14 lines • 561 B
TypeScript
import { StyleFunction, TransformFunction } from "../style/index.js";
type SimpleStyleFunction<PropKey extends keyof any> = StyleFunction<Partial<Record<PropKey, any>>>;
export interface SxConfigRecord {
cssProperty?: keyof React.CSSProperties | false | undefined;
/**
* dot access in `Theme`
*/
themeKey?: string | undefined;
transform?: TransformFunction | undefined;
style?: SimpleStyleFunction<any> | undefined;
}
export type SxConfig = Record<string, SxConfigRecord>;
declare const defaultSxConfig: SxConfig;
export default defaultSxConfig;