adding all changes

This commit is contained in:
ashprit
2024-10-27 01:55:58 +00:00
parent 002dd73690
commit cce9632b5f
4 changed files with 221 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ const eventSchema = z
});
// Define the TypeScript type based on the Zod schema
type EventFormData = z.infer<typeof eventSchema>;
export type EventFormData = z.infer<typeof eventSchema>;
interface EventFormProps {
onSubmit: (data: EventFormData) => void;