File tree Expand file tree Collapse file tree 1 file changed +10
-24
lines changed
packages/core/src/MaskLayer Expand file tree Collapse file tree 1 file changed +10
-24
lines changed Original file line number Diff line number Diff line change @@ -42,28 +42,14 @@ export default Demo
4242
4343### Props
4444
45- 继承原生 Modal 属性 [ ` ModalProps ` ] ( https://facebook.github.io/react-native/docs/modal.html#props )
45+ 继承原生 Modal 属性 [ ` ModalProps ` ] ( https://facebook.github.io/react-native/docs/modal.html#props )
46+
47+ | 参数 | 说明 | 类型 | 默认值 |
48+ | ------| ------| -----| ------|
49+ | maskClosable | 遮罩层是否禁止点击 | ` Boolean ` | ` true ` |
50+ | visible | 遮罩层是否隐藏 | ` Boolean ` | - |
51+ | opacity | 遮罩层透明度 | - | 0.6 |
52+ | onDismiss | 隐藏消除回调事件 | () => void | - |
53+ | children | 子元素 | JSX.Element | |
54+
4655
47- ``` typescript
48- interface MaskLayerProps extends RNModalProps {
49- /**
50- * 遮罩层是否禁止点击
51- * defult: `true`
52- */
53- maskClosable? : boolean ;
54- /**
55- * 是否隐藏
56- */
57- visible? : boolean ;
58- /**
59- * 遮罩层透明度
60- * defult: `0.6`
61- */
62- opacity? : number ;
63- /**
64- * 隐藏消除回调事件
65- */
66- onDismiss? : () => void ;
67- children? : JSX .Element ;
68- }
69- ```
You can’t perform that action at this time.
0 commit comments