mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
27 lines
553 B
TypeScript
27 lines
553 B
TypeScript
import {
|
|
InputGroup,
|
|
InputGroupAddon,
|
|
InputGroupButton,
|
|
InputGroupInput,
|
|
} from "@lcui/react";
|
|
|
|
export default function Example() {
|
|
return (
|
|
<InputGroup className="w-full max-w-sm">
|
|
<InputGroupInput
|
|
className="min-h-16"
|
|
placeholder="Autoresize textarea..."
|
|
/>
|
|
<InputGroupAddon align="block-end">
|
|
<InputGroupButton
|
|
variant="primary"
|
|
size="sm"
|
|
className="ml-auto"
|
|
>
|
|
Submit
|
|
</InputGroupButton>
|
|
</InputGroupAddon>
|
|
</InputGroup>
|
|
);
|
|
}
|