recharts
Version:
React charts
8 lines (7 loc) • 331 B
TypeScript
import { CSSProperties } from 'react';
/**
* in RechartsTheme we apply the same styles to both SVG elements and HTML elements.
* Which are mostly compatible except when they are not and this function is fixing these problems.
* @param style
*/
export declare function cssStylesToSvgStyles(style: CSSProperties): CSSProperties;