@ark-ui/react
Version:
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
9 lines (8 loc) • 362 B
TypeScript
import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as timer from '@zag-js/timer';
export interface UseTimerProps extends Optional<Omit<timer.Props, 'dir' | 'getRootNode'>, 'id'> {
}
export interface UseTimerReturn extends timer.Api<PropTypes> {
}
export declare const useTimer: (props?: UseTimerProps) => UseTimerReturn;