react-flip-clock-countdownup
Version:
A 3D animated countdown and countup component for React with date picker integration and enhanced styling options.
15 lines (14 loc) • 467 B
TypeScript
import React from 'react';
import { Digit, FlipClockCountdownProps } from './types';
export interface FlipClockDigitProps {
current: Digit;
next: Digit;
ready?: boolean;
className?: string;
style?: FlipClockCountdownProps['digitBlockStyle'];
/**
* When true, animate flip upwards instead of downwards.
*/
isCountUp?: boolean;
}
export default function FlipClockDigit(props: FlipClockDigitProps): React.JSX.Element;