mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-15 20:01:35 +00:00
30 lines
718 B
TypeScript
30 lines
718 B
TypeScript
import { Button } from "@/styles/base-nova/ui/button"
|
|
import {
|
|
Popover,
|
|
PopoverContent,
|
|
PopoverDescription,
|
|
PopoverHeader,
|
|
PopoverTitle,
|
|
PopoverTrigger,
|
|
} from "@/styles/base-nova/ui/popover"
|
|
|
|
export function PopoverBasic() {
|
|
return (
|
|
<>
|
|
<Popover>
|
|
<PopoverTrigger render={<Button variant="outline" className="w-fit" />}>
|
|
Open Popover
|
|
</PopoverTrigger>
|
|
<PopoverContent align="start">
|
|
<PopoverHeader>
|
|
<PopoverTitle>Dimensions</PopoverTitle>
|
|
<PopoverDescription>
|
|
Set the dimensions for the layer.
|
|
</PopoverDescription>
|
|
</PopoverHeader>
|
|
</PopoverContent>
|
|
</Popover>
|
|
</>
|
|
)
|
|
}
|