mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 04:54:17 +02:00
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.
7 lines
No EOL
226 B
Text
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>
|
|
);
|
|
}; |