@base-ui/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 • 380 B
TypeScript
import * as React from 'react';
interface ClosePartContextValue {
register: () => () => void;
}
export declare const ClosePartContext: React.Context<ClosePartContextValue | undefined>;
export declare function useClosePartCount(): {
context: {
register: () => () => void;
};
hasClosePart: boolean;
};
export declare function useClosePartRegistration(): void;
export {};