@gannochenko/ui.styled-components
Version:
<!-- PROJECT SHIELDS --> <!-- *** Reference links are enclosed in brackets [ ] instead of parentheses ( ). *** See the bottom of this document for the declaration of the reference variables *** for contributors-url, forks-url, etc. This is an optional, co
18 lines (17 loc) • 556 B
TypeScript
export interface ObjectLiteralType<P = any> {
[k: string]: P;
}
export declare type ScalarType = string | number;
export declare type MUIThemeType = {
breakpoints: {
up: (bp: string) => string;
down: (bp: string) => string;
between: (bp: string, bpe: string) => string;
};
spacing: (value: number) => number;
tokenIndex: ObjectLiteralType;
} & ObjectLiteralType;
export declare type StylePropsType<T = MUIThemeType> = {
theme: T;
};
export declare type BreakpointNameType = 'lg' | 'sm' | 'md' | 'xs' | 'xl';