WestpacGEL/GEL-next

Update components using Children.map

Opened this issue · 0 comments

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