diff options
Diffstat (limited to 'src/containers/WaybillForm.tsx')
-rw-r--r-- | src/containers/WaybillForm.tsx | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/src/containers/WaybillForm.tsx b/src/containers/WaybillForm.tsx index 1e3276f..fedc9c4 100644 --- a/src/containers/WaybillForm.tsx +++ b/src/containers/WaybillForm.tsx @@ -10,27 +10,25 @@ const WaybillForm: React.FC<FormikProps> = ({ setFieldValue, values }) => { return ( <Form id="form"> - <div className="max-w-lg"> - <Select - name="contractorId" - label="Контрагент" - options={contractorOptions} - /> - <Select - name="productId" - label="Товар" - options={productOptions} - /> - <Select - name="operation" - label="Операция" - options={[ - { key: 'in', label: 'Приход' }, - { key: 'out', label: 'Расход' }, - ]} - /> - <Input name="quantity" type="number" label="Количество" /> - </div> + <Select + name="contractorId" + label="Контрагент" + options={contractorOptions} + /> + <Select + name="productId" + label="Товар" + options={productOptions} + /> + <Select + name="operation" + label="Операция" + options={[ + { key: 'in', label: 'Приход' }, + { key: 'out', label: 'Расход' }, + ]} + /> + <Input name="quantity" type="number" label="Количество" /> </Form> ); }; |