feat: hook up the invice customize api

This commit is contained in:
Ahmed Bouhuolia
2024-09-12 14:16:07 +02:00
parent a7df23cebc
commit 632c4629de
21 changed files with 391 additions and 169 deletions

View File

@@ -1,7 +1,14 @@
// @ts-nocheck
import React, { createContext, useContext } from 'react';
const DrawerContext = createContext();
interface DrawerContextValue {
name: string;
payload: Record<string, any>;
}
const DrawerContext = createContext<DrawerContextValue>(
{} as DrawerContextValue,
);
/**
* Account form provider.