adui
Version:
<div> <img src="https://wxa.wxs.qq.com/mpweb/delivery/legacy/wxadtouch/upload/t1/od834zef_52939fc6.png" style="margin:40px 0 0 -8px; background-color: #fcfcfc; box-shadow: none;" /> </div>
20 lines (19 loc) • 805 B
TypeScript
import React from "react";
import "./style";
export interface ITimeSelectProps {
[key: string]: any;
currentHour?: number | null;
currentMinute?: number | null;
disabledHours?: (hour?: string | null) => boolean | void;
disabledMinutes?: (minute?: string | null) => boolean | void;
disabledSeconds?: (second?: string | null) => boolean | void;
maxTime?: string | null;
minTime?: string | null;
onChange: (value: string, type: "hour" | "minute" | "second") => void;
onlyHour?: boolean;
size?: "mini" | "small" | "medium" | "large";
selectedValue?: null | string;
type: "hour" | "minute" | "second";
}
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ITimeSelectProps & React.RefAttributes<any>>>;
export default _default;