blob: 4e83faebdc73903c616de845e2aaa0110c7ff945 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import React from 'react';
import { Form } from 'formik';
import Input from '../components/Input';
const ContractorForm: React.FC = () => {
return (
<Form id="form">
<div className="max-w-lg">
<Input name="name" label="Название" />
<Input name="vatId" label="УНП" />
<Input name="debt" type="number" label="Долг ($)" />
</div>
</Form>
);
};
export default ContractorForm;
|