UNPKG

react-code-canvas

Version:

React component for running and previewing React code with live editing capabilities

8 lines (7 loc) 662 B
import * as React from "react"; import * as PopoverPrimitive from "@radix-ui/react-popover"; declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): React.JSX.Element; declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): React.JSX.Element; declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): React.JSX.Element; declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): React.JSX.Element; export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };