fastmcp/docs/snippets/version-badge.mdx
Jeremiah Lowin 597286a633
Update VersionBadge to use Mintlify native Badge component (#2571)
Replace custom VersionBadge implementation with Mintlify's native Badge component while preserving custom color and border styling via CSS. This leverages Mintlify's built-in sizing, typography, and icon support while maintaining the original visual design.
2025-12-06 21:23:53 -05:00

7 lines
No EOL
226 B
Text

export const VersionBadge = ({ version }) => {
return (
<Badge stroke size='lg' icon='gift' iconType='regular' className="version-badge">
New in version <code>{version}</code>
</Badge>
);
};