@wix/css-property-parser
Version:
A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance
10 lines (9 loc) • 307 B
TypeScript
import { FontStretchValue } from '../types';
/**
* Parse a CSS font-stretch property string
*/
export declare function parse(value: string): FontStretchValue | null;
/**
* Convert FontStretchValue back to CSS string
*/
export declare function toCSSValue(parsed: FontStretchValue | null): string | null;