Update components using Children.map
Opened this issue · 0 comments
tomjackking commented
Raised by Samitha, the Children React API is legacy and we shouldn't be using it:
https://react.dev/reference/react/Children
Suggestion to convert that to using slots as seen here:
https://react.dev/reference/react/Children#accepting-an-array-of-objects-as-a-prop