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'; ...@@ -2,7 +2,7 @@ import * as React from 'react';
export interface IChartCardProps { export interface IChartCardProps {
title: React.ReactNode; title: React.ReactNode;
action?: React.ReactNode; action?: React.ReactNode;
total?: React.ReactNode | function | number; total?: React.ReactNode | number | (() => React.ReactNode | number);
footer?: React.ReactNode; footer?: React.ReactNode;
contentHeight?: number; contentHeight?: number;
avatar?: React.ReactNode; avatar?: React.ReactNode;
......
...@@ -10,7 +10,7 @@ export interface IPieProps { ...@@ -10,7 +10,7 @@ export interface IPieProps {
x: string | string; x: string | string;
y: number; y: number;
}>; }>;
total?: string | function; total?: React.ReactNode | number | (() => React.ReactNode | number);
title?: React.ReactNode; title?: React.ReactNode;
tooltip?: boolean; tooltip?: boolean;
valueFormat?: (value: string) => string | React.ReactNode; 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