UNPKG

@octopusdeploy/design-system-components

Version:
14 lines (13 loc) 673 B
import type { BeaconBaseProps } from "./BeaconBase"; export type BeaconPlacementType = "auto" | "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top-start" | "top"; export interface BeaconProps extends BeaconBaseProps { placement?: BeaconPlacementType; anchorElement: HTMLElement | null; open: boolean; beaconOffset?: BeaconOffset; } export interface BeaconOffset { x: number; y: number; } export declare function Beacon({ placement, anchorElement, open, size, ripple, onClick, beaconOffset, accessibleName }: BeaconProps): import("react/jsx-runtime").JSX.Element;