diff --git a/packages/colors/src/props.js b/packages/colors/src/props.js index 7215bfa47..6477e0019 100644 --- a/packages/colors/src/props.js +++ b/packages/colors/src/props.js @@ -19,6 +19,7 @@ export const ordinalColorsPropType = PropTypes.oneOfType([ PropTypes.shape({ datum: PropTypes.string.isRequired, }), + PropTypes.string, ]) export const colorPropertyAccessorPropType = PropTypes.oneOfType([PropTypes.func, PropTypes.string])