@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) • 355 B
TypeScript
import type { MaxWidthValue } from '../types';
/**
* Parse a CSS max-width property string
*/
export declare function parse(value: string): MaxWidthValue | null;
/**
* Convert a parsed max-width value back to CSS string
*/
export declare function toCSSValue(parsed: MaxWidthValue | null): string | null;
export type { MaxWidthValue } from '../types';