import * as React from 'react'; import { Menu, Dropdown } from 'antd'; import { useTranslation } from 'react-i18next'; import { PlusIcon } from '../utils/styles/common'; interface AddNodeProps { addChildField: () => void; addSiblingField: () => void; } function AddNodeIcon({ addChildField, addSiblingField }: AddNodeProps): JSX.Element { const { t } = useTranslation(); const menu = (
); return (