import { useIndicator } from "../hooks/useIndicator"; import type { UseIndicatorOptions } from "../hooks/useIndicator"; export type IndicatorProps = UseIndicatorOptions; /** * Declarative indicator management as a child of ``. * Renders nothing — purely manages the indicator lifecycle. * * @example * ```tsx * * * * * ``` */ export function Indicator(props: IndicatorProps): null { useIndicator(props); return null; } Indicator.displayName = "KLineChart.Indicator";