mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
24 lines
427 B
TypeScript
24 lines
427 B
TypeScript
const App = `import {Avatar, AvatarIcon} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<div className="flex items-center">
|
|
<Avatar
|
|
icon={<AvatarIcon />}
|
|
classNames={{
|
|
base: "bg-gradient-to-br from-[#FFB457] to-[#FF705B]",
|
|
icon: "text-black/80",
|
|
}}
|
|
/>
|
|
</div>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|