add lucide-react dependency and update form handling in MainForm
- Added lucide-react to package dependencies - Refactored MainForm to improve form handling and user selection - Removed SuccessPage component and related logic - Updated localization files to include new keys for invoice details - Created interfaces for form data and messages
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
export interface FormData {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
email: string;
|
||||
phoneNumber: string;
|
||||
tickets: number;
|
||||
companyName: string;
|
||||
cmpFirstName: string;
|
||||
cpmLastName: string;
|
||||
cpmEmail: string;
|
||||
cpmPhoneNumber: string;
|
||||
street: string;
|
||||
postalCode: string;
|
||||
paymentMethod: string;
|
||||
}
|
||||
|
||||
export interface Message {
|
||||
type: "primary" | "neutral" | "danger" | "success" | "warning";
|
||||
headline: string;
|
||||
text: string;
|
||||
}
|
||||
Reference in New Issue
Block a user