Skip to content

Commit

Permalink
update proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Aug 29, 2018
1 parent aa79bb9 commit 6f6f0b7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions superset/assets/src/visualizations/rose.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ import './rose.css';

const propTypes = {
// Data is an object hashed by numeric value, perhaps timestamp
// Each entry is
// PropTypes.arrayOf(PropTypes.shape({
// key: PropTypes.arrayOf(PropTypes.string),
// name: PropTypes.arrayOf(PropTypes.string),
// time: PropTypes.number,
// value: PropTypes.number,
// })),
data: PropTypes.object,
data: PropTypes.objectOf(PropTypes.arrayOf(PropTypes.shape({
key: PropTypes.arrayOf(PropTypes.string),
name: PropTypes.arrayOf(PropTypes.string),
time: PropTypes.number,
value: PropTypes.number,
}))),
width: PropTypes.number,
height: PropTypes.number,
dateTimeFormat: PropTypes.string,
Expand Down

0 comments on commit 6f6f0b7

Please sign in to comment.