import { Button } from 'ui' import { EDGE_FUNCTION_CHART_INTERVALS, getSegmentedButtonClassName, } from './EdgeFunctionOverview.utils' interface EdgeFunctionIntervalSelectorProps { interval: string onIntervalChange: (interval: string) => void } /** Segmented control for the period every Overview chart covers */ export const EdgeFunctionIntervalSelector = ({ interval, onIntervalChange, }: EdgeFunctionIntervalSelectorProps) => (