mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
config redirect
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import { MutableRefObject, ReactNode } from 'react';
|
||||
declare type OnUpdate = (message: StackMessage, type: string, element: MutableRefObject<HTMLElement | null>) => void;
|
||||
export declare enum StackMessage {
|
||||
Add = 0,
|
||||
Remove = 1
|
||||
}
|
||||
export declare function useStackContext(): OnUpdate;
|
||||
export declare function StackProvider({ children, onUpdate, type, element, enabled, }: {
|
||||
children: ReactNode;
|
||||
onUpdate?: OnUpdate;
|
||||
type: string;
|
||||
element: MutableRefObject<HTMLElement | null>;
|
||||
enabled?: boolean;
|
||||
}): JSX.Element;
|
||||
export {};
|
||||
Reference in New Issue
Block a user