cfpb / design-system-react

A React/Storybook implementation of CFPB's Design System
https://cfpb.github.io/design-system-react/
MIT License
6 stars 4 forks source link

[Alert] React Warning - Children of <p> #317

Open shindigira opened 8 months ago

shindigira commented 8 months ago

The Alert component needs to be refactored where the children prop is not a child of

. Problem occurs in the FormErrorHeader of sbl-frontend

Error

Screenshot 2024-03-01 at 2 34 47 PM

Code

Screenshot 2024-03-01 at 2 36 46 PM