@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) • 595 B
TypeScript
import { BorderInlineValue } from '../types';
export type { BorderInlineValue } from '../types';
/**
* Parses a CSS border-inline property string into BorderInlineValue
* @param value - The CSS border-inline property value
* @returns Parsed border-inline object or null if invalid
*/
export declare function parse(value: string): BorderInlineValue | null;
/**
* Converts a BorderInlineValue back to a CSS string
* @param parsed - The parsed border-inline object
* @returns CSS string representation
*/
export declare function toCSSValue(parsed: BorderInlineValue | null): string | null;