Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #558 from FormidableLabs/bug/732-color-proptype
Browse files Browse the repository at this point in the history
Support for functions as color PropType
  • Loading branch information
boygirl authored Feb 1, 2018
2 parents 138a974 + b4ba614 commit 83ee342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/victory-group/victory-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class VictoryGroup extends React.Component {
...BaseProps,
...DataProps,
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),
color: PropTypes.string,
color: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
colorScale: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.string),
PropTypes.oneOf([
Expand Down

0 comments on commit 83ee342

Please sign in to comment.