MAIDR JavaScript API
    Preparing search index...

    Interface MaidrNivoProps

    Props for the MaidrNivo wrapper component.

    interface MaidrNivoProps {
        id: string;
        title?: string;
        subtitle?: string;
        caption?: string;
        type: NivoChartType;
        children: ReactNode;
    }
    Index

    Properties

    id: string

    Unique identifier for the chart. Used for DOM element IDs.

    title?: string

    Chart title displayed in text descriptions.

    subtitle?: string

    Chart subtitle.

    caption?: string

    Chart caption.

    Which Nivo chart the child is.

    children: ReactNode

    The one Nivo chart element to make accessible, e.g. <ResponsiveBar data={...} keys={...} indexBy="..." />. Its props are read as the chart's data; a fragment around it is looked through.