react-countdown icon indicating copy to clipboard operation
react-countdown copied to clipboard

Make date props not optional

Open Moritz-Steinle opened this issue 4 years ago • 1 comments

Since the date prop is declared required in the docs, it should be in the code. Currently however it's the following: export interface CountdownProps extends React.Props<Countdown>, CountdownTimeDeltaFormatOptions, Omit<LegacyCountdownProps, 'onComplete'> { readonly date?: Date | number | string; [...]

Moritz-Steinle avatar Jan 24 '22 10:01 Moritz-Steinle

True, I must have changed that for legacy reasons, will check if this can be corrected! Thank you!

ndresx avatar Feb 12 '22 21:02 ndresx