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