PanelPosition
此类型主要用于帮助将事物定位在流视口的顶部。例如,<MiniMap /> 和 <Controls /> 组件都采用这种类型的 position 属性。
¥This type is mostly used to help position things on top of the flow viewport. For
example both the <MiniMap /> and
<Controls /> components take a position
prop of this type.
export type PanelPosition =
| 'top-left'
| 'top-center'
| 'top-right'
| 'bottom-left'
| 'bottom-center'
| 'bottom-right'
| 'center-left'
| 'center-right';Last updated on