A
Anonymous
Tarot Rates Manager - Copy this React, Tailwind Component to your project
Create a modern animated and responsive rate component where admin can input data based on below schema const tarortRateSchema = new mongoose.Schema( { type: { type: String, enum: ["TarotReading", "Workshop"], // Differentiates the rate types required: true, }, tarotReading: { channels: [ { name: { type: String, required: true }, // e.g., 'Email', 'SMS', 'Video', 'Audio' rates: [ { duration: { type: Number, required: true }, // In minutes rate: { type: Number, required: true, min: 0 }, // Price per given duration }, ], }, ], }, }, { timestamps: true, // Adds createdAt and updatedAt fields } ); const TarortRate = mongoose.model("TarortRate", tarortRateSchema); export default TarortRate;
Prompt
