import React from 'react'; import { Form, Field } from 'formik'; import Input from '../components/Input'; import Select from '../components/Select'; import hooks from '../hooks/useAPIClient'; const WaybillForm: React.FC = () => { const { data: contractors } = hooks.contractors.useList(); const { data: products } = hooks.products.useList(); return (
({ key: p._id, label: p.name }))} />
); }; export default WaybillForm;