Last active
May 15, 2026 01:13
-
-
Save codigoconjuan/d57252917f678cc99cdd75b005738042 to your computer and use it in GitHub Desktop.
Componente para reanudar la suscripción CashTrackr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from "react"; | |
| export default function SubscriptionResume() { | |
| const [loading, setLoading] = useState(false); | |
| const resumeSubscription = () => { | |
| }; | |
| return ( | |
| <div className="rounded-xl border-2 border-purple-200 bg-purple-50 p-6"> | |
| <h3 className="text-xl font-bold mb-2">¿Cambiaste de opinión?</h3> | |
| <p className="text-gray-600 mb-4"> | |
| Aún puedes reactivar tu suscripción antes del{' '} | |
| sin cargos adicionales. | |
| </p> | |
| <button | |
| onClick={resumeSubscription} | |
| disabled={loading} | |
| className="bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-6 rounded-lg disabled:opacity-50" | |
| > | |
| {loading ? 'Procesando...' : 'Reactivar suscripción'} | |
| </button> | |
| </div> | |
| ) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment