mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
30 lines
766 B
TypeScript
30 lines
766 B
TypeScript
const App = `import {Card, CardHeader, CardBody, Image} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Card className="py-4">
|
|
<CardHeader className="pb-0 pt-2 px-4 flex-col items-start">
|
|
<p className="text-xs uppercase font-bold">Daily Mix</p>
|
|
<small className="text-default-500">12 Tracks</small>
|
|
<h4 className="font-bold text-lg">Frontend Radio</h4>
|
|
</CardHeader>
|
|
<CardBody className="overflow-visible py-2">
|
|
<Image
|
|
alt="Card background"
|
|
className="object-cover rounded-xl"
|
|
src="/images/hero-card-complete.jpeg"
|
|
width={270}
|
|
/>
|
|
</CardBody>
|
|
</Card>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|