UNPKG

@cross-nft-marketplace/auction-house-nft-components

Version:
22 lines (21 loc) 572 B
/// <reference types="react" /> export declare type CountdownDisplayProps = { from?: number | string; to: number | string; }; export declare const TimeDisplayMap: { d: string; h: string; m: string; s: string; }; export declare const splitDurationSegments: (difference: number) => { d: number; h: number; m: number; s: number; }; export declare const DurationDisplay: ({ duration }: { duration: number; }) => JSX.Element; export declare const CountdownDisplay: (props: CountdownDisplayProps) => JSX.Element;