import clsx from 'clsx' import { useState } from 'react' import { useUser } from '../hooks/use-user' import { checkoutURL } from '../lib/service/stripe' import { FundsSelector } from './yes-no-selector' export function AddFundsButton(props: { className?: string }) { const { className } = props const user = useUser() const [amountSelected, setAmountSelected] = useState< 500 | 1000 | 2500 | 10000 >(500) return ( <>
Get Manifold Dollars
Use Manifold Dollars to trade in your favorite markets.
(Not redeemable for cash.)
Amount
Price USD
${Math.round(amountSelected / 100)}.00
) }