@primer/components
Version:
Primer react components
21 lines (20 loc) • 1.11 kB
TypeScript
import * as styledSystem from 'styled-system';
export declare const get: (key: string) => (props: any) => any;
export declare const COMMON: styledSystem.styleFn;
export interface SystemCommonProps extends styledSystem.ColorProps, styledSystem.SpaceProps, styledSystem.DisplayProps {
}
export declare const TYPOGRAPHY: styledSystem.styleFn;
export interface SystemTypographyProps extends styledSystem.TypographyProps {
whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line';
}
export declare const BORDER: styledSystem.styleFn;
export interface SystemBorderProps extends styledSystem.BorderProps, styledSystem.ShadowProps {
}
export declare const LAYOUT: styledSystem.styleFn;
export declare type SystemLayoutProps = styledSystem.LayoutProps;
export declare const POSITION: styledSystem.styleFn;
export declare type SystemPositionProps = styledSystem.PositionProps;
export declare const FLEX: styledSystem.styleFn;
export declare type SystemFlexProps = styledSystem.FlexboxProps;
export declare const GRID: styledSystem.styleFn;
export declare type SystemGridProps = styledSystem.GridProps;