@twstyled/core
Version:
twstyled -- the full-featured Tailwind CSS + CSS in JS solution with blazing fast build times and no runtime overhead
10 lines (9 loc) • 656 B
TypeScript
import { TwClasses } from '@xwind/class-utilities';
import type { CSSProperties, StyledMeta } from './types';
export { default } from './styled';
export { default as styled } from './styled';
export * from './types';
declare type StaticPlaceholder = string | number | CSSProperties | StyledMeta;
export declare function css<TAdditionalProps = {}>(strings: TemplateStringsArray, ...exprs: Array<StaticPlaceholder | ((props: Omit<TAdditionalProps, never>) => string | number)>): any;
export declare const tw: (arg1: TemplateStringsArray | TwClasses, ...rest: TwClasses[]) => any;
export declare const cx: (...classes: import("clsx").ClassValue[]) => string;