12 lines
371 B
TypeScript
12 lines
371 B
TypeScript
import { Input } from "@/components/retroui/Input";
|
|
import { Label } from "@/components/retroui/Label";
|
|
|
|
export default function InputStyleWithLabel() {
|
|
return (
|
|
<div className="grid w-full max-w-sm items-center gap-1.5">
|
|
<Label htmlFor="pokemon">Favorite Pokemon</Label>
|
|
<Input type="pokemon" id="pokemon" placeholder="Charmander" />
|
|
</div>
|
|
);
|
|
}
|