GC
Gustavo Campos
Add Property Form - Copy this React, Tailwind Component to your project
Create a page to for add a property, a page insider a admin page, in this form with this fields: model Property { id String @id @default(cuid()) name String description String price Int size Int bedrooms Int bathrooms Int garages Int street String number String neighborhood String city String state String postalCode String latitude Float longitude Float images PropertyImage[] createdAt DateTime @default(now()) updatedAt DateTime @updatedAt } model PropertyImage { id String @id @default(cuid()) url String propertyId String property Property @relation(fields: [propertyId], references: [id], onDelete: Cascade) createdAt DateTime @default(now()) updatedAt DateTime @updatedAt }
Prompt
