Skip to Content
You are viewing the v12 docs of React Flow. You can find the latest version here.
ReferenceTypes

PanelPosition

Source on GitHub 

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