Jesus sucks
This commit is contained in:
13
backend/frontend/node_modules/@restart/ui/cjs/DropdownContext.d.ts
generated
vendored
Normal file
13
backend/frontend/node_modules/@restart/ui/cjs/DropdownContext.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import * as React from 'react';
|
||||
import type { Placement } from './usePopper';
|
||||
export 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;
|
||||
Reference in New Issue
Block a user