import { __ } from '@wordpress/i18n'; import { useDraggable } from '@dnd-kit/core'; import { getAllElements } from '../fields/FieldRegistry'; /** * Left sidebar — lists all element types available to drag into the canvas. * Each item is a @dnd-kit Draggable (not sortable — the list is fixed). */ export default function FieldsPanel() { const elements = getAllElements(); return (
{ __( 'Drag or click to add to a column', 'better-payment' ) }