@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.
16 lines • 448 B
TypeScript
import * as React from 'react';
interface ClosePartContextValue {
register: () => () => void;
}
export declare function useClosePartCount(): {
context: {
register: () => () => void;
};
hasClosePart: boolean;
};
export declare function ClosePartProvider(props: {
value: ClosePartContextValue;
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useClosePartRegistration(): void;
export {};