react-native-navigation的迁移库

options-splitView.mdx 953B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ---
  2. id: options-splitView
  3. title: SplitView Options
  4. sidebar_label: SplitView
  5. ---
  6. ### `displayMode`
  7. Master view display mode.
  8. | Type | Required | Default | Platform |
  9. | -------------------------------------------- | -------- | ------- | -------- |
  10. | enum('auto', 'visible', 'hidden', 'overlay') | No | 'auto' | iOS |
  11. ### `primaryEdge`
  12. Master view side. Leading is left. Trailing is right.
  13. | Type | Required | Default | Platform |
  14. | --------------------------- | -------- | --------- | -------- |
  15. | enum('leading', 'trailing') | No | 'leading' | iOS |
  16. ### `minWidth`
  17. Set the minimum width of master view.
  18. | Type | Required | Platform |
  19. | ------ | -------- | -------- |
  20. | number | No | iOS |
  21. ### `maxWidth`
  22. Set the maximum width of master view.
  23. | Type | Required | Platform |
  24. | ------ | -------- | -------- |
  25. | number | No | iOS |