// @flow import React from 'react'; import CreditAmount from 'component/common/credit-amount'; import I18nMessage from 'component/i18nMessage'; type Props = { balance: number, inline?: boolean, }; function WalletSpendableBalanceHelp(props: Props) { const { balance, inline } = props; if (!balance) { return null; } return inline ? ( }}> %balance% available. ) : (
}}> Your immediately spendable balance is %balance%.
); } export default WalletSpendableBalanceHelp;