mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
28 lines
581 B
TypeScript
28 lines
581 B
TypeScript
import {
|
|
Button,
|
|
Popover,
|
|
PopoverContent,
|
|
PopoverDescription,
|
|
PopoverHeader,
|
|
PopoverTitle,
|
|
PopoverTrigger,
|
|
} from "@lcui/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Popover>
|
|
<PopoverTrigger>
|
|
<Button variant="outline">Open popover</Button>
|
|
</PopoverTrigger>
|
|
<PopoverContent>
|
|
<PopoverHeader>
|
|
<PopoverTitle>Dimensions</PopoverTitle>
|
|
<PopoverDescription>
|
|
Set the dimensions for the layer.
|
|
</PopoverDescription>
|
|
</PopoverHeader>
|
|
</PopoverContent>
|
|
</Popover>
|
|
);
|
|
}
|