UNPKG

@patternfly/react-charts

Version:

This library provides a set of React chart components for use with the PatternFly reference implementation.

28 lines 983 B
/** * Copied from exenv * * @private Not intended as public API and subject to change */ export declare const canUseDOM: boolean; /** * Returns the class name that will be applied to the outermost div rendered by the chart's container * * @private Not intended as public API and subject to change */ export declare const getClassName: (className: string) => string; /** * Get computed style value -- see https://github.com/apache/echarts/issues/19743 * * Note that Victory uses the style property to apply CSS variables. However, ECharts' LineChart uses `fill` and * `stroke` attributes, which doesn't work with CSS variables. In addition, using CSS variables with Sankey * causes sever flashing during mouse hover. Therefore, we will obtain the CSS computed value from the DOM. * * @public * @beta */ export declare const getComputedStyleValue: (token: { name: string; value: string | number; var: string; }) => any; //# sourceMappingURL=styles.d.ts.map