UNPKG

@actinc/dls

Version:

Design Language System (DLS) for ACT & Encoura front-end projects.

31 lines 1.07 kB
/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import * as React from 'react'; import { BarProps, LabelListProps, XAxisProps } from 'recharts'; import { BarChartProps } from "../BarChart"; import { ILabelListData } from "../../types"; export interface OverlappedBarDataProps { color?: string; name?: string; [key: string]: unknown; } export interface OverlappedBarChartProps { barChartProps?: Omit<BarChartProps, 'data'>; barKeys: string[]; barProps?: Omit<BarProps, 'dataKey' | 'ref'>; barTextColors?: string[]; children?: React.ReactElement<unknown>; colors?: string[]; data: Array<OverlappedBarDataProps>; initialBarSize?: number; innerBarTextColor?: string; labelProps?: LabelListProps<ILabelListData>; xAxisProps?: XAxisProps; } export declare const OverlappedBarChart: React.FC<OverlappedBarChartProps>; export default OverlappedBarChart; //# sourceMappingURL=index.d.ts.map