mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
40 lines
822 B
TypeScript
40 lines
822 B
TypeScript
const App = `import {Tabs, Tab, Card, CardBody, CardHeader} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<div className="flex w-full flex-col">
|
|
<Tabs aria-label="Options">
|
|
<Tab key="photos" title="Photos">
|
|
<Card>
|
|
<CardBody>
|
|
List of photos
|
|
</CardBody>
|
|
</Card>
|
|
</Tab>
|
|
<Tab key="music" title="Music">
|
|
<Card>
|
|
<CardBody>
|
|
List of music
|
|
</CardBody>
|
|
</Card>
|
|
</Tab>
|
|
<Tab key="videos" title="Videos">
|
|
<Card>
|
|
<CardBody>
|
|
List of videos
|
|
</CardBody>
|
|
</Card>
|
|
</Tab>
|
|
</Tabs>
|
|
</div>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|