UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

11 lines (10 loc) 361 B
import type { MaxHeightValue } from '../types'; /** * Parse a CSS max-height property string */ export declare function parse(value: string): MaxHeightValue | null; /** * Convert a parsed max-height value back to CSS string */ export declare function toCSSValue(parsed: MaxHeightValue | null): string | null; export type { MaxHeightValue } from '../types';