mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
25 lines
433 B
TypeScript
25 lines
433 B
TypeScript
const App = `import {Input} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Input
|
|
isClearable
|
|
type="email"
|
|
label="Email"
|
|
variant="bordered"
|
|
placeholder="Enter your email"
|
|
defaultValue="junior@nextui.org"
|
|
onClear={() => console.log("input cleared")}
|
|
className="max-w-xs"
|
|
/>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|