react-coming
Version:
React component rendering a simple page with a countdown timer.
19 lines (18 loc) • 408 B
TypeScript
import { ReactNode } from 'react';
export interface ComingProps {
children?: ReactNode;
enabled?: boolean;
toDate?: string;
toTime?: string;
daysLabel?: string;
hoursLabel?: string;
minutesLabel?: string;
secondsLabel?: string;
customComponent?: ReactNode;
}
export interface ComingValues {
days: number;
hours: number;
minutes: number;
seconds: number;
}