mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-10 20:20:12 +00:00
3
types/recharts/index.d.ts
vendored
3
types/recharts/index.d.ts
vendored
@@ -13,6 +13,7 @@
|
||||
// Andrew Palugniok <https://github.com/apalugniok>
|
||||
// Robert Stigsson <https://github.com/RobertStigsson>
|
||||
// Kosaku Kurino <https://github.com/kousaku-maron>
|
||||
// Leon Ng <https://github.com/iflp>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
@@ -219,7 +220,7 @@ export interface BarProps extends EventAttributes, Partial<PresentationAttribute
|
||||
data?: BarData[];
|
||||
background?: boolean | React.ReactElement | ContentRenderer<any> | object;
|
||||
// see label section at http://recharts.org/#/en-US/api/Bar
|
||||
label?: boolean | Label | React.SFC<LabelProps> | React.ReactElement<LabelProps> | ContentRenderer<any>;
|
||||
label?: boolean | Label | LabelProps | React.SFC<LabelProps> | React.ReactElement<LabelProps> | ContentRenderer<any>;
|
||||
}
|
||||
|
||||
export class Bar extends React.Component<BarProps> { }
|
||||
|
||||
Reference in New Issue
Block a user