import {useState} from 'react' import ButtonWithConfirm from "./ButtonWithConfirm"; import { Row, Col, Input, InputGroup, InputGroupAddon, } from "reactstrap"; import {useTranslation} from "react-i18next"; import { sortableHandle } from "react-sortable-hoc"; import HelpButton from "@components/form/HelpButton"; const DragHandle = sortableHandle(({children}) => ( {children} )); const CandidateField = ({label, candIndex, onDelete, ...inputProps}) => { const {t} = useTranslation(); return ( {candIndex + 1} {t( "Enter the name of your candidate or proposal here (250 characters max.)" )} ); } export default CandidateField