Commit df0ffd6d authored by Nikhil Bhargava's avatar Nikhil Bhargava Committed by ι™ˆεΈ…

Clean up typescript definitions

parent 3df1c08f
......@@ -2,7 +2,7 @@ import * as React from 'react';
export interface IChartCardProps {
title: React.ReactNode;
action?: React.ReactNode;
total?: React.ReactNode | function | number;
total?: React.ReactNode | number | (() => React.ReactNode | number);
footer?: React.ReactNode;
contentHeight?: number;
avatar?: React.ReactNode;
......
......@@ -10,7 +10,7 @@ export interface IPieProps {
x: string | string;
y: number;
}>;
total?: string | function;
total?: React.ReactNode | number | (() => React.ReactNode | number);
title?: React.ReactNode;
tooltip?: boolean;
valueFormat?: (value: string) => string | React.ReactNode;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment