@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 • 597 B
TypeScript
import * as React from 'react';
/**
* Provides a shared context for coordinating global Drawer UI,
* such as indent/background effects based on whether any Drawer is open.
*
* Documentation: [Base UI Drawer](https://base-ui.com/react/components/drawer)
*/
export declare function DrawerProvider(props: DrawerProvider.Props): import("react/jsx-runtime").JSX.Element;
export interface DrawerProviderState {}
export interface DrawerProviderProps {
children?: React.ReactNode;
}
export declare namespace DrawerProvider {
type State = DrawerProviderState;
type Props = DrawerProviderProps;
}