We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 738358c commit 7aa24a7Copy full SHA for 7aa24a7
1 file changed
src/components/feedback/Alert/Alert.astro
@@ -3,4 +3,4 @@ import Callout from '@/components/documentation/Callout';
3
type Props = Readonly<{ title?: string; variant?: 'info' | 'success' | 'warning' | 'danger' }>;
4
const { title, variant = 'info' } = Astro.props;
5
---
6
-<Callout {title} {variant}><slot /></Callout>
+<Callout title={title ?? ''} {variant}><slot /></Callout>
0 commit comments