diff --git a/components/src/RefreshIntervalPicker/RefreshIntervalPicker.tsx b/components/src/RefreshIntervalPicker/RefreshIntervalPicker.tsx index 7ae4ba9a..82654af5 100644 --- a/components/src/RefreshIntervalPicker/RefreshIntervalPicker.tsx +++ b/components/src/RefreshIntervalPicker/RefreshIntervalPicker.tsx @@ -21,10 +21,11 @@ interface RefreshIntervalPickerProps { value?: DurationString; onChange: (value: DurationString) => void; height?: string; + disabled?: boolean; } export function RefreshIntervalPicker(props: RefreshIntervalPickerProps): ReactElement { - const { value, onChange, timeOptions, height } = props; + const { value, onChange, timeOptions, height, disabled = false } = props; // If the dashboard refresh interval is not provided in timeOptions, it will create a specific option for the select const customInterval = useMemo(() => { @@ -39,6 +40,7 @@ export function RefreshIntervalPicker(props: RefreshIntervalPickerProps): ReactE