import type { MouseEventHandler } from 'react'; import type { Controls } from '~/types/state'; import type { Placement } from './common'; import type { StepMerged } from './step'; import type { Simplify } from './utilities'; /** Props passed to a custom arrow component. */ export type ArrowRenderProps = { /** Width of the arrow base in pixels. */ base: number; /** The computed placement of the tooltip. */ placement: Placement; /** Height of the arrow in pixels. */ size: number; }; /** Props passed to a custom beacon component. * Must render a span since it's placed inside a `