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