mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
36 lines
597 B
TypeScript
36 lines
597 B
TypeScript
const App = `import {Input} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
const radius = [
|
|
"full",
|
|
"lg",
|
|
"md",
|
|
"sm",
|
|
"none",
|
|
];
|
|
|
|
return (
|
|
<div className="w-full flex flex-row flex-wrap gap-4">
|
|
{radius.map((r) => (
|
|
<Input
|
|
key={r}
|
|
radius={r}
|
|
type="email"
|
|
label="Email"
|
|
placeholder="Enter your email"
|
|
defaultValue="junior@nextui.org"
|
|
className="max-w-[220px]"
|
|
/>
|
|
))}
|
|
</div>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|