mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-02 17:08:39 +00:00
* feat(www): add login blocks * chore(www): restructure for blocks * chore: build registry * chore: clean up chunks * fix(www): chart categories * feat(www): big registry refactor * feat(www): update blocks * feat: complex blocks * fix: update schema * feat: sync new-york and default * fix: lint * feat: move charts * fix(www): code * fix: src path * chore: rebuild registry * fix: screenshot * fix: set new-york as default
12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
import { Button } from "@/registry/default/ui/button"
|
|
import { Textarea } from "@/registry/default/ui/textarea"
|
|
|
|
export default function TextareaWithButton() {
|
|
return (
|
|
<div className="grid w-full gap-2">
|
|
<Textarea placeholder="Type your message here." />
|
|
<Button>Send message</Button>
|
|
</div>
|
|
)
|
|
}
|