mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-27 14:44:12 +00:00
12 lines
341 B
TypeScript
12 lines
341 B
TypeScript
import { Button } from "@/registry/default/ui/button"
|
|
import { Input } from "@/registry/default/ui/input"
|
|
|
|
export default function InputWithButton() {
|
|
return (
|
|
<div className="flex w-full max-w-sm items-center space-x-2">
|
|
<Input type="email" placeholder="Email" />
|
|
<Button type="submit">Subscribe</Button>
|
|
</div>
|
|
)
|
|
}
|