1
0
Fork 0
react-playground/node_modules/@mui/x-date-pickers/TimeClock/ClockPointer.d.ts
Techognito fc0f69dacb Added Statistics calculation
Statistics now show calculated values
2025-09-04 17:30:00 +02:00

31 lines
No EOL
1.1 KiB
TypeScript

import * as React from 'react';
import { PickerOwnerState, TimeView } from "../models/index.js";
import { ClockPointerClasses } from "./clockPointerClasses.js";
export interface ClockPointerProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* `true` if the pointer is between two clock values.
* On the `hours` view, it is always false.
* On the `minutes` view, it is true if the pointer is on a value that is not a multiple of 5.
*/
isBetweenTwoClockValues: boolean;
isInner: boolean;
type: TimeView;
viewValue: number;
classes?: Partial<ClockPointerClasses>;
}
export interface ClockPointerOwnerState extends PickerOwnerState {
/**
* `true` if the clock pointer should animate.
*/
isClockPointerAnimated: boolean;
/**
* `true` if the pointer is between two clock values.
* On the `hours` view, it is always false.
* On the `minutes` view, it is true if the pointer is on a value that is not a multiple of 5.
*/
isClockPointerBetweenTwoValues: boolean;
}
/**
* @ignore - internal component.
*/
export declare function ClockPointer(inProps: ClockPointerProps): React.JSX.Element;