twrnc
Version:
simple, expressive API for tailwindcss + react-native
6 lines (5 loc) • 557 B
TypeScript
import type { TwTheme } from '../tw-config';
import type { ParseContext, StyleIR } from '../types';
export declare function widthHeight(type: 'width' | 'height', value: string, context?: ParseContext, config?: TwTheme['width'] | TwTheme['height']): StyleIR | null;
export declare function size(value: string, context?: ParseContext, theme?: TwTheme): StyleIR | null;
export declare function minMaxWidthHeight(type: 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight', value: string, context?: ParseContext, config?: Record<string, string>): StyleIR | null;