Skip to content

Commit 21e3d3d

Browse files
committed
doc(Modal): Update document.
1 parent 398aced commit 21e3d3d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/core/src/Modal/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,11 @@ export default class ButtonGroupView extends Component {
4848

4949
## Props
5050

51-
继承原生 Modal 属性 [`ModalProps`](https://facebook.github.io/react-native/docs/modal.html#props)
51+
继承原生 Modal 属性 [`ModalProps`](https://facebook.github.io/react-native/docs/modal.html#props)
52+
53+
```ts
54+
export interface ModalProps extends MaskLayerProps {
55+
placement?: 'top' | 'right' | 'bottom' | 'left';
56+
onClosed?: () => void;
57+
}
58+
```

0 commit comments

Comments
 (0)