Update index.d.ts

Added missing properties 'data' and 'name' to interface ScatterProps
This commit is contained in:
Dan Torberg
2018-03-05 08:51:45 +01:00
parent fbba9f55be
commit aac52dbc24
+3
View File
@@ -5,6 +5,7 @@
// Roy Xue <https://github.com/royxue>
// Zheyang Song <https://github.com/ZheyangSong>
// Rich Baird <https://github.com/richbai90>
// Dan Torberg <https://github.com/caspeco-dan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
@@ -719,6 +720,8 @@ export interface ScatterProps extends EventAttributes, Partial<PresentationAttri
shape?: 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye' | React.ReactElement<any> | ContentRenderer<any>;
points?: ScatterPoint[];
hide?: boolean;
data?: object[];
name?: string | number;
}
export class Scatter extends React.Component<ScatterProps> { }