Viewing File: /home/ubuntu/todaykat-frontend-base/node_modules/@restart/ui/cjs/DropdownContext.d.ts

import * as React from 'react';
import type { Placement } from './usePopper';
export declare type DropdownContextValue = {
    toggle: (nextShow: boolean, event?: React.SyntheticEvent | Event) => void;
    menuElement: HTMLElement | null;
    toggleElement: HTMLElement | null;
    setMenu: (ref: HTMLElement | null) => void;
    setToggle: (ref: HTMLElement | null) => void;
    show: boolean;
    placement?: Placement;
};
declare const DropdownContext: React.Context<DropdownContextValue | null>;
export default DropdownContext;
Back to Directory File Manager