pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
import { StyleFunction } from '../Box';
|
||||
import { TransformFunction } from '../style';
|
||||
|
||||
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;
|
||||
Reference in new issue
Block a user