/// interface Props { /** * 当前设置是否为小时 */ isHourView: boolean; /** * 时针旋转角度 */ hourRotateDeg: number; /** * 分钟选择角度 */ minuteRotateDeg: number; /** * 时针旋转角度改变的回调函数 */ onChangeHourRotateDeg: (hour: number) => void; /** * 分针旋转角度改变的回调函数 */ onChangeMinuteRotateDeg: (hour: number) => void; /** * 时分视图切换时的回调函数 */ onChangeHourOrMinuteView: (isHourView: boolean) => void; } export default function Clock({ isHourView, hourRotateDeg, minuteRotateDeg, onChangeHourRotateDeg, onChangeMinuteRotateDeg, onChangeHourOrMinuteView, ...rest }: Props): JSX.Element; export {};