UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

13 lines (12 loc) 528 B
import * as React from 'react'; export declare function usePopoverDescription(params: usePopoverDescription.Parameters): usePopoverDescription.ReturnValue; declare namespace usePopoverDescription { interface Parameters { descriptionId: string | undefined; setDescriptionId: React.Dispatch<React.SetStateAction<string | undefined>>; } interface ReturnValue { getDescriptionProps: (externalProps?: React.ComponentPropsWithoutRef<'p'>) => React.ComponentPropsWithoutRef<'p'>; } } export {};