Closed sbourdon13 closed 10 months ago
Currently, the Badge element is a <p>, but it could also be a <span> when the Badge is used inside a \
<p>
<span>
. For example, in the header title, I need a span to avoid the error <p> cannot appear as a descendant of <p>.
<p> cannot appear as a descendant of <p>
See example "Header avec bandeau BETA" at https://main--ds-gouv.netlify.app/example/component/header/
Thank you!
Currently, the Badge element is a
<p>
, but it could also be a<span>
when the Badge is used inside a \. For example, in the header title, I need a span to avoid the error
<p> cannot appear as a descendant of <p>
.See example "Header avec bandeau BETA" at https://main--ds-gouv.netlify.app/example/component/header/