import React from "react" import { classNames } from "../../../utils" import { ChartSkeleton, ChartSkeletonProps } from "../ChartSkeleton" import { ScatterplotSkeleton } from "../Scatterplot/ScatterplotSkeleton" type TimeSeriesChartSkeletonLineProps = { className?: string } const TimeSeriesChartSkeletonLine = ({ className, }: TimeSeriesChartSkeletonLineProps) => { return ( ) } export type TimeSeriesChartSkeletonProps = Omit< ChartSkeletonProps, "content" > & { showLine?: boolean showScatter?: boolean } const TimeSeriesChartSkeletonBase = ({ showLine = true, showScatter, ...rest }: TimeSeriesChartSkeletonProps) => { return ( {showLine && ( )} {showScatter && ( )} } {...rest} /> ) } export const TimeSeriesChartSkeleton = Object.assign( TimeSeriesChartSkeletonBase, { Line: TimeSeriesChartSkeletonLine, }, )