mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
24 lines
398 B
TypeScript
24 lines
398 B
TypeScript
const App = `import {Input} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Input
|
|
type="email"
|
|
label="Email"
|
|
variant="bordered"
|
|
defaultValue="junior2nextui.org"
|
|
isInvalid={true}
|
|
errorMessage="Please enter a valid email"
|
|
className="max-w-xs"
|
|
/>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|