mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-25 21:56:08 +00:00
12 lines
308 B
TypeScript
12 lines
308 B
TypeScript
import { Button } from "@/examples/base/ui/button"
|
|
import { Input } from "@/examples/base/ui/input"
|
|
|
|
export function InputWithButton() {
|
|
return (
|
|
<div className="flex w-full gap-2">
|
|
<Input type="search" placeholder="Search..." className="flex-1" />
|
|
<Button>Search</Button>
|
|
</div>
|
|
)
|
|
}
|