{`${t('MinProposalRequirements1')} ${value} ${t( + 'MinProposalRequirements2' + )}`}
+ ); +}; diff --git a/apps/token/src/routes/governance/components/propose/proposal-form-reference.tsx b/apps/token/src/routes/governance/components/propose/proposal-form-reference.tsx new file mode 100644 index 000000000..0f7e770a7 --- /dev/null +++ b/apps/token/src/routes/governance/components/propose/proposal-form-reference.tsx @@ -0,0 +1,27 @@ +import { useTranslation } from 'react-i18next'; +import { FormGroup, Input, InputError } from '@vegaprotocol/ui-toolkit'; +import type { UseFormRegisterReturn } from 'react-hook-form'; + +interface ProposalFormReferenceProps { + registerField: UseFormRegisterReturn<'proposalReference'>; + errorMessage: string | undefined; +} + +export const ProposalFormReference = function ({ + registerField: register, + errorMessage, +}: ProposalFormReferenceProps) { + const { t } = useTranslation(); + return ( +{finalizedProposal.rejectionReason}
+