diff --git a/src/components/PeriodPicker.tsx b/src/components/PeriodPicker.tsx index 88bbe6a..90ff7d6 100644 --- a/src/components/PeriodPicker.tsx +++ b/src/components/PeriodPicker.tsx @@ -16,10 +16,12 @@ const timePeriodCollection = [ type PeriodPickerProps = { defaultValue?: number onChange?: (value: number) => void + [other: string]: any } -export const PeriodPicker = ({ defaultValue = defaultPeriod, onChange }: PeriodPickerProps) => ( +export const PeriodPicker = ({ defaultValue = defaultPeriod, onChange, ...other }: PeriodPickerProps) => (