-
Notifications
You must be signed in to change notification settings - Fork 376
Description
The react-charts docs contain some complex object types. For example, the ChartArea component shows AnimatePropTypeInterface as the animate type below.
The Victory docs show the animate type as type: boolean || object.
See https://formidable.com/open-source/victory/docs/victory-area/#animate
Note: There are far more complex examples, but using animate for simplicity.
I don't want to override the existing Victory property types, just to add a description for react-docs. I would prefer to document properties using an annotation, if possible?
That may allow us to simplify the animate description / type as a boolean instead of AnimatePropTypeInterface. It would also isolate us from Victory changing the underlying property type and breaking our component wrappers.
