grommet
Version:
focus on the essential experience
21 lines (17 loc) • 676 B
TypeScript
import * as React from "react";
import { A11yTitleType, AlignSelfType, GridAreaType, MarginType } from "../../utils";
export interface ClockProps {
a11yTitle?: A11yTitleType;
alignSelf?: AlignSelfType;
gridArea?: GridAreaType;
margin?: MarginType;
hourLimit?: "12" | "24" | "12" | "24";
onChange?: ((...args: any[]) => void);
precision?: "hours" | "minutes" | "seconds";
run?: boolean | "backward" | "forward";
size?: "small" | "medium" | "large" | "xlarge" | string;
time?: string;
type?: "analog" | "digital";
}
declare const Clock: React.ComponentClass<ClockProps & (JSX.IntrinsicElements['div'] | JSX.IntrinsicElements['svg'])>;
export { Clock };