We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReactUSWDS Version & USWDS Version:
Describe the bug The Alert component uses a <p> tag as the body and limiting what tags can be specified as children.
<p>
To Reproduce Steps to reproduce the behavior:
Expected behavior If the body was a <div> for instance, it would allow for more HTML tags as children (ie, bullets).
<div>
The text was updated successfully, but these errors were encountered:
For precedent, USWDS uses an alert component with a list in the body in their Validation component: https://designsystem.digital.gov/components/validation/
Sorry, something went wrong.
@vim-usds It looks like if you pass in the validation prop to the <Alert> component, the <p> tag will no longer be used.
validation
<Alert>
oh nice, then maybe this issue could be scoped to just adding a story to the storybook covering that prop?
Yeah, that's a good idea. That would make the use of the prop more visible.
Successfully merging a pull request may close this issue.
ReactUSWDS Version & USWDS Version:
Describe the bug
The Alert component uses a
<p>
tag as the body and limiting what tags can be specified as children.To Reproduce
Steps to reproduce the behavior:
Expected behavior
If the body was a
<div>
for instance, it would allow for more HTML tags as children (ie, bullets).The text was updated successfully, but these errors were encountered: