oncss
Version:
A CSS framework for modern web development.
23 lines (22 loc) • 867 B
TypeScript
import { CSSOptionProps, CSSFactoryType, CSSProps } from './types';
export declare const CSSFactory: Map<string, CSSFactoryType>;
export declare const formatCSSProp: (prop: string) => string;
export declare const formatCSSValue: (prop: string, val: any) => any;
export declare const cssPrefix: (prop: string, value: string) => {
prop: string;
value: string;
};
export declare const style: <Aliases, BreakpointKeys extends string>(_css: CSSProps<Aliases, BreakpointKeys>, cls?: string, opt?: CSSOptionProps<Aliases, BreakpointKeys>, dept?: number) => CSSFactoryType | {
cache: boolean;
cachekey: string;
classname: string;
css: any;
cssraw: CSSProps<Aliases, BreakpointKeys>;
skiped: any;
getStyleTag: () => HTMLStyleElement | null;
deleteStyle: () => void;
toString: () => string;
} | {
stack: any;
skiped: any;
};