/** * @file Pan interaction configuration section. */ import * as React from "react"; import classes from "./InteractionCustomizationExample.module.css"; import type { PanOptionsState } from "./panelTypes"; type PanSettingsSectionProps = { options: PanOptionsState; onChange: (next: PanOptionsState) => void; }; export const PanSettingsSection: React.FC = ({ options, onChange }) => { const updateOption = React.useCallback( (partial: Partial) => { onChange({ ...options, ...partial }); }, [options, onChange], ); return (
Canvas Panning

Configure which pointer inputs can drag the canvas. Space+Drag remains available regardless of these settings.

); };