@wix/css-property-parser
Version:
A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance
15 lines (14 loc) • 596 B
TypeScript
import { BorderIndividualValue } from '../types';
export type { BorderIndividualValue } from '../types';
/**
* Parse border-bottom value
* @param value - The CSS border-bottom value to parse
* @returns Parsed BorderIndividualValue or null if invalid
*/
export declare function parse(value: string): BorderIndividualValue | null;
/**
* Convert parsed border-bottom value back to CSS string
* @param parsed - The parsed BorderIndividualValue
* @returns CSS string representation or null if invalid
*/
export declare function toCSSValue(parsed: BorderIndividualValue | null): string | null;