mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-02-08 18:39:31 +08:00
12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
import { Button } from "@/components/ui/button"
|
|
import { Input } from "@/components/ui/input"
|
|
|
|
export 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>
|
|
)
|
|
}
|