mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
22 lines
441 B
TypeScript
22 lines
441 B
TypeScript
import {
|
|
Icon,
|
|
InputGroup,
|
|
InputGroupAddon,
|
|
InputGroupInput,
|
|
Text,
|
|
} from "@lcui/react";
|
|
|
|
export default function Example() {
|
|
return (
|
|
<InputGroup className="w-[320px]">
|
|
<InputGroupInput placeholder="Search..." />
|
|
<InputGroupAddon>
|
|
<Icon name="search" />
|
|
</InputGroupAddon>
|
|
<InputGroupAddon align="inline-end">
|
|
<Text>12 results</Text>
|
|
</InputGroupAddon>
|
|
</InputGroup>
|
|
);
|
|
}
|