Reincharts
    Preparing search index...
    interface AnnotateProps {
        className?: string;
        usingProps?: any;
        when: (value: any, index: number, array: any[]) => boolean;
        with: ElementType;
    }
    Index

    Properties

    className?: string

    CSS class name for styling the annotation container.

    usingProps?: any

    Additional props to pass to each annotation component instance.

    when: (value: any, index: number, array: any[]) => boolean

    Predicate function to determine which data points should be annotated.

    with: ElementType

    React component type to use for rendering each annotation.