Merge pull request #3796 from xyflow/improve-type-docs

Improve type docs
This commit is contained in:
Moritz Klack
2024-01-16 18:11:03 +01:00
committed by GitHub
20 changed files with 842 additions and 7 deletions
@@ -6,6 +6,9 @@ import { useStore } from '../../hooks/useStore';
import type { ReactFlowState } from '../../types';
export type PanelProps = HTMLAttributes<HTMLDivElement> & {
/** Set position of the panel
* @example 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'
*/
position?: PanelPosition;
children: ReactNode;
};