import React from 'react';
import { Form } from 'formik';
import Input from '../../components/Input';
import Select from '../../components/Select';

const currencyOptions = [
  { key: 'BYN', label: 'BYN' },
  { key: 'USD', label: 'USD' },
  { key: 'EUR', label: 'EUR' },
];

const AccountForm: React.FC = () => {
  return (
    <Form id="form">
      <Input name="name" label="Название" />
      <Input name="code" label="Номер счёта" />
      <Select name="currency" label="Валюта" options={currencyOptions} />
    </Form>
  );
};

export default AccountForm;
