import type { ViewProps } from "../View"; import type * as G from "../../types/global"; import type { Attributes, ClassName } from "@reshaped/headless"; import type React from "react"; export type Props = Pick & { /** Show or hide the component */ active?: boolean; /** Offset from the container bounds */ offset?: G.Responsive; /** Position based on the container bounds * @default "bottom" */ position?: "top" | "top-end" | "top-start" | "bottom" | "bottom-start" | "bottom-end"; /** CSS position style */ positionType?: G.Responsive<"relative" | "absolute" | "fixed">; /** Display above the content with elevated shadow and background */ elevated?: boolean; /** Node for inserting the content */ children?: React.ReactNode; /** Additional classname for the root element */ className?: ClassName; /** Additional attributes for the root element */ attributes?: Attributes<"div">; };