优化弹窗被GuideBar遮挡的问题
This commit is contained in:
13
src/context/index.ts
Normal file
13
src/context/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
// 定义Context类型
|
||||
interface FamilyContextType {
|
||||
handleGrandchildTrigger: (data: any) => void;
|
||||
}
|
||||
|
||||
// 创建Context对象
|
||||
const FamilyContext = React.createContext < FamilyContextType > ({
|
||||
handleGrandchildTrigger: () => { }
|
||||
});
|
||||
|
||||
export default FamilyContext;
|
||||
Reference in New Issue
Block a user