tinacms
Version:
> The Fastest Way to Edit Next.js Content
33 lines (32 loc) • 911 B
TypeScript
export default class TimeView extends React.Component<any, any, any> {
constructor(props: any);
constraints: {};
state: {
hours: string;
minutes: string;
seconds: string;
milliseconds: string;
ampm: string;
};
render(): JSX.Element;
renderCounter(type: any, value: any): JSX.Element;
renderHeader(): JSX.Element;
onStartClicking(e: any, action: any, type: any): void;
timer: NodeJS.Timeout;
increaseTimer: NodeJS.Timeout;
mouseUpListener: any;
toggleDayPart(): void;
increase(type: any): string;
decrease(type: any): string;
getCounters(): string[];
isAMPM(): boolean;
getTimeParts(date: any): {
hours: string;
minutes: string;
seconds: string;
milliseconds: string;
ampm: string;
};
componentDidUpdate(prevProps: any): void;
}
import React from "react";