Skip to content

Commit 8a38e4c

Browse files
committed
created the LayoutActions context
1 parent bc25cf2 commit 8a38e4c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from 'react';
2+
3+
const LayoutActions = React.createContext({
4+
toggleLeftDrawer: () => {},
5+
toggleRightDrawer: () => {},
6+
handleRightDrawerClose: () => {},
7+
handleLeftDrawerClose: () => {},
8+
});
9+
10+
export default LayoutActions;

0 commit comments

Comments
 (0)