import React, { useState } from 'react'; import { defineMessages, useIntl, FormattedMessage } from 'react-intl'; import { Accordion, Column, Stack } from 'soapbox/components/ui'; import { useInstance } from 'soapbox/hooks'; import SiteWallet from './components/site-wallet'; const messages = defineMessages({ heading: { id: 'column.crypto_donate', defaultMessage: 'Donate Cryptocurrency' }, }); const CryptoDonate: React.FC = (): JSX.Element => { const intl = useIntl(); const instance = useInstance(); const [explanationBoxExpanded, toggleExplanationBox] = useState(true); return ( } expanded={explanationBoxExpanded} onToggle={toggleExplanationBox} > ); }; export default CryptoDonate;