@tinacms/toolkit
Version:
Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.
24 lines (23 loc) • 677 B
TypeScript
export default class TimeView extends React.Component<any, any, any> {
constructor(props: any);
constraints: {};
renderCounter(type: any, value: any): JSX.Element;
renderHeader(): JSX.Element;
onStartClicking(e: any, action: any, type: any): void;
timer: number;
increaseTimer: number;
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;
};
}
import React from "react";