Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

PopoverContent

Popover Content using the host's anchored content presentation.

Import

import { PopoverContent } from "@dartwic/interface-sdk/ui";

Declaration

export const PopoverContent: HostComponent<PopoverContentProps>;

PopoverContentProps

Positioning for anchored popover content.

export interface PopoverContentProps extends HostComponentProps {
    side?: "top" | "right" | "bottom" | "left";
    align?: "start" | "center" | "end";
    sideOffset?: number;
}
PropTypeRequirementDescription
side"top" | "right" | "bottom" | "left"Optional
align"start" | "center" | "end"Optional
sideOffsetnumberOptional
classNamestringOptionalAdditional Tailwind or host CSS classes.
childrenHostNodeOptionalChild content rendered by the host component.
idstringOptionalOptional DOM identifier.
styleRecord<string, unknown>OptionalInline style values passed to the host component.