Props for ReadingVelocityChart component.

interface ReadingVelocityChartProps {
readonly history: ReadingHistory;
readonly timeRange: TimeRange;
readonly className?: string;
readonly comparisonData?: ReturnType<typeof computeReadingVelocity>;
readonly comparisonLabel?: string;
}
interface ReadingVelocityChartProps {
    history: ReadingHistory;
    timeRange: TimeRange;
    className?: string;
    comparisonData?: {
        perDay: number;
        perWeek: number;
        perMonth: number;
        totalChapters: number;
        activeDays: number;
    };
    comparisonLabel?: string;
}

Properties

timeRange: TimeRange
className?: string
comparisonData?: {
    perDay: number;
    perWeek: number;
    perMonth: number;
    totalChapters: number;
    activeDays: number;
}
comparisonLabel?: string