@conciergus/chat - v0.3.1
    Preparing search index...

    Interface CostRendererProps

    Props for custom cost renderer

    interface CostRendererProps {
        cost: CostMetrics;
        mode: MetadataDisplayMode;
        currency: string;
        precision: number;
        onClick?: (metric: string, value: any) => void;
    }
    Index

    Properties

    Cost metrics

    Display mode

    currency: string

    Currency

    precision: number

    Decimal precision

    onClick?: (metric: string, value: any) => void

    Click handler