diff --git a/packages/legends/src/props.ts b/packages/legends/src/props.ts index 105a68c98..cef3bf489 100644 --- a/packages/legends/src/props.ts +++ b/packages/legends/src/props.ts @@ -15,14 +15,7 @@ import PropTypes from 'prop-types' * ``` */ export const LegendPropShape = { - data: PropTypes.arrayOf( - PropTypes.shape({ - id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired, - label: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired, - color: PropTypes.string, - fill: PropTypes.string, - }) - ), + data: PropTypes.arrayOf(PropTypes.object), // position & layout anchor: PropTypes.oneOf([