Skip to content

Commit

Permalink
replicated React.Props
Browse files Browse the repository at this point in the history
  • Loading branch information
byarianto committed Aug 3, 2023
1 parent 545a905 commit a649cd0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Countdown.tsx
Expand Up @@ -12,8 +12,14 @@ import {
formatTimeDelta,
} from './utils';

interface Props<T> {
children?: React.ReactNode;
key?: React.Key;
ref?: React.LegacyRef<T>;
}

export interface CountdownProps
extends React.Props<Countdown>,
extends Props<Countdown>,
CountdownTimeDeltaFormatOptions,
Omit<LegacyCountdownProps, 'onComplete'> {
readonly date: Date | number | string;
Expand Down

0 comments on commit a649cd0

Please sign in to comment.