All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.components.hover-card.use-hover-card.d.cts Maven / Gradle / Ivy

Go to download

A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.

The newest version!
import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as hoverCard from '@zag-js/hover-card';
export interface UseHoverCardProps extends Optional, 'id'> {
    /**
     * The initial open state of the hover card when it is first rendered.
     * Use when you do not need to control its open state.
     */
    defaultOpen?: hoverCard.Context['open'];
}
export interface UseHoverCardReturn extends hoverCard.Api {
}
export declare const useHoverCard: (props?: UseHoverCardProps) => UseHoverCardReturn;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy