mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
feat: deprecation badges
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user