feat: test order create page render (#85)

This commit is contained in:
RustamRu
2025-02-15 19:47:02 +03:00
parent bbc96a2f27
commit f07f7aeba5
4 changed files with 690 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ import {
YMapsProvider,
} from './location';
export const OrderForm = ({ onSubmit, loading }: OrderFormProps) => {
export const OrderForm = ({ onSubmit, loading, ...props }: OrderFormProps) => {
const {
handleSubmit,
control,
@@ -41,7 +41,7 @@ export const OrderForm = ({ onSubmit, loading }: OrderFormProps) => {
]);
return (
<Box p={4} marginInline='auto'>
<Box p={4} marginInline='auto' {...props}>
<VStack
as='form'
noValidate