14 lines
379 B
TypeScript
14 lines
379 B
TypeScript
import { Button } from "@/registry/new-york-v4/ui/button"
|
|
import { Input } from "@/registry/new-york-v4/ui/input"
|
|
|
|
export default function InputWithButton() {
|
|
return (
|
|
<div className="flex w-full max-w-sm items-center gap-2">
|
|
<Input type="email" placeholder="Email" />
|
|
<Button type="submit" variant="outline">
|
|
Subscribe
|
|
</Button>
|
|
</div>
|
|
)
|
|
}
|