@indoqa/style-system
Version:
A style system for React with Typescript typed theme support and several base components.
10 lines (9 loc) • 905 B
TypeScript
import { IStyle } from 'fela';
import { BaseTheme } from '..';
import { BoxModelProps, FlexChildProps, FontProps, MarginProps, PaddingProps, StylingProps, WithBaseTheme } from './types';
export declare const createBoxModelCSSProps: <T extends BaseTheme>(props: BoxModelProps) => {};
export declare const createFlexChildCSSProps: <T extends BaseTheme>(props: FlexChildProps, theme: BaseTheme, outsideMediaQuery: boolean) => IStyle;
export declare function createStylingCSSProps<T extends BaseTheme>(props: StylingProps<T> & WithBaseTheme, theme: BaseTheme): IStyle;
export declare function createFontCSSProps<T extends BaseTheme>(props: FontProps<T> & WithBaseTheme, theme: BaseTheme): IStyle;
export declare const createMarginCSSProps: (props: MarginProps & WithBaseTheme, theme: BaseTheme) => {};
export declare const createPaddingCSSProps: (props: PaddingProps & WithBaseTheme, theme: BaseTheme) => {};