@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.
14 lines (13 loc) • 510 B
TypeScript
import * as React from 'react';
import type { GenericHTMLProps } from '../../utils/types.js';
export declare function usePopoverTitle(params: usePopoverTitle.Parameters): usePopoverTitle.ReturnValue;
declare namespace usePopoverTitle {
interface Parameters {
titleId: string | undefined;
setTitleId: React.Dispatch<React.SetStateAction<string | undefined>>;
}
interface ReturnValue {
getTitleProps: (externalProps?: GenericHTMLProps) => GenericHTMLProps;
}
}
export {};