import { useOverlay } from "../hooks/useOverlay"; import type { UseOverlayOptions } from "../hooks/useOverlay"; export type OverlayProps = UseOverlayOptions; /** * Declarative overlay management as a child of ``. * Renders nothing — purely manages the overlay lifecycle. * * @example * ```tsx * * * * * ``` */ export function Overlay(props: OverlayProps): null { useOverlay(props); return null; } Overlay.displayName = "KLineChart.Overlay";