Kenan Yusuf
Kenan Yusuf
The types for this function have been rewritten here #2799
## Manual testing results ### victory-brush-container **Before** https://github.com/FormidableLabs/victory/assets/9557798/c7269d0f-975a-457d-82b7-fdd0a62ab83f **After** https://github.com/FormidableLabs/victory/assets/9557798/1a089367-9412-456c-a82d-93a0ffc6e3d2 --- ### victory-cursor-container **Before** https://github.com/FormidableLabs/victory/assets/9557798/fc833ab8-bcb7-4b1f-9f5b-97d8ce3c56ab **After** https://github.com/FormidableLabs/victory/assets/9557798/e5f208b9-0129-4bd8-9986-474c646deecb --- ### victory-selection-container **Before** https://github.com/FormidableLabs/victory/assets/9557798/85d7389c-0cdd-49d2-ac08-172daf279a90 **After** https://github.com/FormidableLabs/victory/assets/9557798/6c7e4cbc-0c23-40fa-9d13-27f55ea3dfe0 --- ### victory-voronoi-container **Before** https://github.com/FormidableLabs/victory/assets/9557798/39dc1ffc-bc96-4f07-8e21-6876e0d62fbc **After**...
# Victory Native testing results (v36.9.2-next.3) **Before** https://github.com/FormidableLabs/victory/assets/9557798/0fb6b5ec-82d7-4c0d-a23b-b7f008c6a4df **After** https://github.com/FormidableLabs/victory/assets/9557798/0084de11-bc1c-4741-a0f2-ec0989e27ed0
I think we are safe to keep using `defaultProps` in class components, I have only seen references to them being deprecated for function components: - Original RFC: https://github.com/reactjs/rfcs/commit/c71cb88b0badbe9119e1399688ee481e62da142b - React...
Thanks @danilowoz - appreciate it. If I can just add a little more context: I am using Sandpack to create a basic code playground, where users can write HTML, CSS...