@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
22 lines (21 loc) • 751 B
TypeScript
import type { ReactNode } from 'react';
/**
* @deprecated Use `MultiFormEngineDrawerProvider` instead. This will be removed in a future version.
*/
type FormEngineDrawerContextType = {
isOpen: boolean;
handleOpenDrawer: () => void;
handleCloseDrawer: () => void;
};
/**
* @deprecated Use `MultiFormEngineDrawerProvider` instead. This will be removed in a future version.
*/
export declare const FormEngineDrawerProvider: ({ pathname, children }: {
pathname: string;
children: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
/**
* @deprecated Use `useMultiFormEngineDrawer` instead. This will be removed in a future version.
*/
export declare const useFormEngineDrawer: () => FormEngineDrawerContextType;
export {};