--- import Code from '@shortcodes/Code.astro' interface Props { name: string } const { name } = Astro.props ---

Dismissal can be achieved with the data-bs-dismiss attribute on a button within the {name} as demonstrated below:

`} lang="html" />

or on a button outside the {name} using the additional data-bs-target as demonstrated below:

`} lang="html" />