added swappable layout

This commit is contained in:
paul
2024-09-21 18:37:28 +05:30
parent 248de2167c
commit 3ad39c74d6
6 changed files with 423 additions and 180 deletions

View File

@@ -1,6 +1,6 @@
import React, { createContext, useContext, useState } from 'react';
import React, { createContext, useContext, useState } from 'react'
const DragContext = createContext()
export const DragContext = createContext()
export const useDragContext = () => useContext(DragContext)