@amaui/ui-react
Version:
UI for React
26 lines (25 loc) • 956 B
TypeScript
import React from 'react';
import { ISurface } from '../Surface/Surface';
import { IElement, IElementReference, IPropsAny } from '../types';
export interface ICountdown extends Omit<ISurface, 'version'> {
version?: 'linear' | 'round';
renderValue?: (value: string) => IElement;
icon?: boolean;
onStart?: (event: React.MouseEvent<any>) => any;
onPause?: (event: React.MouseEvent<any>) => any;
onStop?: (event: React.MouseEvent<any>) => any;
onResume?: (event: React.MouseEvent<any>) => any;
Icon?: IElementReference;
IconStart?: IElementReference;
IconPause?: IElementReference;
IconStop?: IElementReference;
TreeProps?: IPropsAny;
TooltipProps?: IPropsAny;
RoundProgressProps?: IPropsAny;
NumericTextFieldProps?: IPropsAny;
IconButtonProps?: IPropsAny;
LinearProgressProps?: IPropsAny;
IconProps?: IPropsAny;
}
declare const Countdown: React.FC<ICountdown>;
export default Countdown;