@activecollab/components
Version:
ActiveCollab Components
20 lines • 728 B
TypeScript
import React from "react";
import { InputMode } from "../Input/types";
import { ElementWithRef } from "../Select/Select";
import { SelectTriggerProps } from "../SelectTrigger";
export type Time24HourFormat = `${string}:${string}` | undefined;
export interface SelectTimeProps extends Omit<SelectTriggerProps, "mode"> {
mode?: "12" | "24";
selected?: Time24HourFormat;
min?: Time24HourFormat;
max?: Time24HourFormat;
onChange?: () => void;
target?: ElementWithRef<Element>;
className?: string;
triggerMode?: InputMode;
locale?: string;
trigger?: string;
step?: 1 | 5 | 15 | 30 | 60;
}
export declare const SelectTime: React.FC<SelectTimeProps>;
//# sourceMappingURL=SelectTime.d.ts.map