@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.
15 lines • 547 B
TypeScript
import { StyleFunction } from "../Box/index.js";
import { TransformFunction } from "../style/index.js";
type SimpleStyleFunction<PropKey extends keyof any> = StyleFunction<Partial<Record<PropKey, any>>>;
export interface SxConfigRecord {
cssProperty?: keyof React.CSSProperties | false;
/**
* dot access in `Theme`
*/
themeKey?: string;
transform?: TransformFunction;
style?: SimpleStyleFunction<any>;
}
export type SxConfig = Record<string, SxConfigRecord>;
declare const defaultSxConfig: SxConfig;
export default defaultSxConfig;