diff --git a/src/components/dashboard/TimeRangeSelector.tsx b/src/components/dashboard/TimeRangeSelector.tsx index 53e73ea..dfe0a7c 100644 --- a/src/components/dashboard/TimeRangeSelector.tsx +++ b/src/components/dashboard/TimeRangeSelector.tsx @@ -36,6 +36,11 @@ export interface TimeRangeSelectorProps { * If the chosen label should be shown outside of the selector */ showLabel: boolean; + + /** + * The button size to use + */ + size?: string; } /** @@ -80,6 +85,7 @@ export const TimeRangeSelector = ( const last24Hours = t("Last 24 Hours"); const today = t("Today"); const label = renderLabel(props); + const size = props.size ? props.size : "sm"; return ( -