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 175d281 commit 61a47ddCopy full SHA for 61a47dd
src/components/VersionSwitcher.js
@@ -20,6 +20,19 @@ export function VersionSwitcher({ className }) {
20
</svg>
21
</Menu.Button>
22
<Menu.Items className="absolute top-full mt-1 py-2 w-40 rounded-lg bg-white shadow ring-1 ring-slate-900/5 text-sm leading-6 font-semibold text-slate-700 dark:bg-slate-800 dark:text-slate-300 dark:highlight-white/5">
23
+ <Menu.Item>
24
+ {({ active }) => (
25
+ <a
26
+ href="https://tailwindcss.com"
27
+ className={clsx(
28
+ 'block px-3 py-1',
29
+ active && 'bg-slate-50 text-slate-900 dark:bg-slate-600/30 dark:text-white'
30
+ )}
31
+ >
32
+ v4
33
+ </a>
34
35
+ </Menu.Item>
36
<Menu.Item disabled>
37
<span className="flex items-center justify-between px-3 py-1 text-sky-500 dark:text-sky-400">
38
{version}
0 commit comments