import React from 'react' import { useAsyncCallback } from 'actionsack' import Button from './Button' import Input from './Input' import { useAuth } from './AuthContext' import LoginButton from './LoginButton' import { COLORS } from '../lib/constants' const X = ( ) export default function Billing() { const user = useAuth() const [submit, { error, loading }] = useAsyncCallback(() => true) const success = true if (!user) { return (
) } return (
{success ? (

Thank you for supporting Carbon!

However, Carbon Diamond is not quite ready yet.
{/* Your card has not been charged or saved today. */}
We greatly appreciate your support, and will let you know when premium features launch!

— the Carbon Team{' '} 💛🖤

) : (

Upgrade to Diamond
($5.00 / month)

Please enter a credit or debit card:

{/** Insert Stripe element here */}
(By clicking subscribe, you are accepting the{' '} terms and conditions)
{X} {error}
)}
) }