PanelPosition
這個類型主要用於幫助定位流程視窗上的元素。例如,<MiniMap />
和 <Controls />
元件都接受一個此類型的 position
屬性。
export type PanelPosition =
| 'top-left'
| 'top-center'
| 'top-right'
| 'bottom-left'
| 'bottom-center'
| 'bottom-right';
這個類型主要用於幫助定位流程視窗上的元素。例如,<MiniMap />
和 <Controls />
元件都接受一個此類型的 position
屬性。
export type PanelPosition =
| 'top-left'
| 'top-center'
| 'top-right'
| 'bottom-left'
| 'bottom-center'
| 'bottom-right';