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