feat: deprecation badges

This commit is contained in:
iCrawl
2022-08-18 18:47:44 +02:00
parent 7f415a2502
commit 673262d38c
4 changed files with 12 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ export function ExampleBlock({ children, exampleIndex }: ExampleBlockProps): JSX
export function DeprecatedBlock({ children }: { children: ReactNode }): JSX.Element {
return (
<Alert icon={<VscWarning />} title="Deprecated" color="red" radius="xs">
<Alert icon={<VscWarning />} title="Deprecated" variant="filled" color="red" radius="xs">
{children}
</Alert>
);