mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
44 lines
1.0 KiB
TypeScript
44 lines
1.0 KiB
TypeScript
const App = `import {Card, CardHeader, CardBody, CardFooter, Divider, Link, Image} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Card className="max-w-[400px]">
|
|
<CardHeader className="flex gap-3">
|
|
<Image
|
|
alt="nextui logo"
|
|
height={40}
|
|
radius="lg"
|
|
src="https://avatars.githubusercontent.com/u/86160567?s=200&v=4"
|
|
width={40}
|
|
/>
|
|
<div className="flex flex-col">
|
|
<p className="text-md">NextUI</p>
|
|
<p className="text-sm text-default-500">nextui.org</p>
|
|
</div>
|
|
</CardHeader>
|
|
<Divider/>
|
|
<CardBody>
|
|
<p>Make beautiful websites regardless of your design experience.</p>
|
|
</CardBody>
|
|
<Divider/>
|
|
<CardFooter>
|
|
<Link
|
|
isExternal
|
|
showAnchorIcon
|
|
href="https://github.com/nextui-org/nextui"
|
|
>
|
|
Visit source code on GitHub.
|
|
</Link>
|
|
</CardFooter>
|
|
</Card>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|