@chakra-ui/styled-system
Version:
Style function for css-in-js building component libraries
11 lines • 383 B
TypeScript
/**
* Function to enable shorthand border values.
* @example
* border = "3px solid blue.300"
*
* This would parse the border values, and convert the "blue.300" token
* to the equivalent color value. If value doesn't exist in theme, it'll use the
* raw values.
*/
export declare function parseBorder(value: string, key?: string): {};
//# sourceMappingURL=parse-border.d.ts.map