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 a0698d6 commit f42a701Copy full SHA for f42a701
1 file changed
src/components/VersionBadge/index.jsx
@@ -0,0 +1,17 @@
1
+export default function VersionBadge({ version }) {
2
+ return (
3
+ <span style={{
4
+ backgroundColor: 'var(--ifm-color-primary)',
5
+ color: 'white',
6
+ padding: '0.1rem 0.5rem',
7
+ borderRadius: '4px',
8
+ fontSize: '0.65em',
9
+ fontWeight: '600',
10
+ verticalAlign: 'middle',
11
+ marginLeft: '0.5rem',
12
+ letterSpacing: '0.03em',
13
+ }}>
14
+ Since {version}
15
+ </span>
16
+ );
17
+}
0 commit comments