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.

6 lines 290 B
import * as React from 'react'; export interface ToastViewportContext { viewportRef: React.RefObject<HTMLElement | null>; } export declare const ToastViewportContext: React.Context<ToastViewportContext | undefined>; export declare function useToastViewportContext(): ToastViewportContext;