mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(docs): correct Tab usage example (#4821)
This commit is contained in:
parent
d64fcc8389
commit
628bcdefeb
@ -169,10 +169,10 @@ function AppTabs() {
|
||||
return (
|
||||
<div className="flex flex-col gap-2">
|
||||
<Tabs selectedKey={pathname} aria-label="Tabs">
|
||||
<Tab id="/" href="/" title="Home" />
|
||||
<Tab id="/photos" href="/photos" title="Photos" />
|
||||
<Tab id="/music" href="/music" title="Music" />
|
||||
<Tab id="/videos" href="/videos" title="Videos" />
|
||||
<Tab key="/" href="/" title="Home" />
|
||||
<Tab key="/photos" href="/photos" title="Photos" />
|
||||
<Tab key="/music" href="/music" title="Music" />
|
||||
<Tab key="/videos" href="/videos" title="Videos" />
|
||||
</Tabs>
|
||||
<Routes>
|
||||
<Route path="/" element={<HomePage />} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user