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

package.dist.components.popover.use-popover.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 popover from '@zag-js/popover';
export interface UsePopoverProps extends Optional, 'id'> {
    /**
     * The initial open state of the popover when it is first rendered.
     * Use when you do not need to control its open state.
     */
    defaultOpen?: popover.Context['open'];
}
export interface UsePopoverReturn extends popover.Api {
}
export declare const usePopover: (props?: UsePopoverProps) => UsePopoverReturn;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy