lune-ui-lib
Version:
Lune UI Components Library
15 lines (14 loc) • 377 B
TypeScript
import { FC } from 'react';
export type BarProps = {
label: string;
percentage: number;
subLabel?: string;
color?: string;
};
export type HorizontalBarChartProps = {
items: BarProps[];
sort?: 'asc' | 'desc';
};
export declare const chartColors: string[];
declare const HorizontalBarChart: FC<HorizontalBarChartProps>;
export default HorizontalBarChart;