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