import { DeleteOutlined, PlusOutlined } from '@ant-design/icons/lib' import { Button, Card, Form, Input, Switch, Tabs } from 'antd' import { TabPaneProps } from 'antd/lib/tabs' import React from 'react' import { useTranslation } from 'react-i18next' import { InputColor } from '../../input/color' export const EndPageTab: React.FC = (props) => { const { t } = useTranslation() return ( {(fields, { add, remove }) => { return (
{fields.map((field, index) => ( remove(index)} />]}> ))}
) }}
) }