import { DeleteOutlined, PlusOutlined, MenuOutlined, UpOutlined, DownOutlined, CopyOutlined } from '@ant-design/icons'; import { IField, IFieldList, IReactFieldListProps } from '@wowpic/xform-types'; import { Button, Card, Empty, Form, Table, Tooltip } from 'antd'; import React, { FunctionComponent, useCallback, useEffect, useRef, useState } from 'react'; import { SortableContainer, SortableElement, SortableHandle } from 'react-sortable-hoc'; import Field from './field'; import Switcher from './switcher'; const AddButton: FunctionComponent = ({ onClick }) => ( ); const DragHandle = SortableHandle(() => (