mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
35 lines
778 B
TypeScript
35 lines
778 B
TypeScript
const App = `import { Link } from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<div className="flex gap-2">
|
|
<Link isBlock showAnchorIcon href="#" color="foreground">
|
|
Foreground
|
|
</Link>
|
|
<Link isBlock showAnchorIcon href="#" color="primary">
|
|
Primary
|
|
</Link>
|
|
<Link isBlock showAnchorIcon href="#" color="secondary">
|
|
Secondary
|
|
</Link>
|
|
<Link isBlock showAnchorIcon href="#" color="success">
|
|
Success
|
|
</Link>
|
|
<Link isBlock showAnchorIcon href="#" color="warning">
|
|
Warning
|
|
</Link>
|
|
<Link isBlock showAnchorIcon href="#" color="danger">
|
|
Danger
|
|
</Link>
|
|
</div>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|