PanelPosition
此類型主要用於幫助定位流程視窗頂部的物件。例如,<MiniMap />
和 <Controls />
元件都採用此類型的 position
prop。
export type PanelPosition =
| 'top-left'
| 'top-center'
| 'top-right'
| 'bottom-left'
| 'bottom-center'
| 'bottom-right';
此類型主要用於幫助定位流程視窗頂部的物件。例如,<MiniMap />
和 <Controls />
元件都採用此類型的 position
prop。
export type PanelPosition =
| 'top-left'
| 'top-center'
| 'top-right'
| 'bottom-left'
| 'bottom-center'
| 'bottom-right';