Skip to content

Instantly share code, notes, and snippets.

@gwmccubbin
Created May 9, 2022 21:50
Show Gist options
  • Save gwmccubbin/92ae41223254dd1f3ccb097a68351864 to your computer and use it in GitHub Desktop.
Save gwmccubbin/92ae41223254dd1f3ccb097a68351864 to your computer and use it in GitHub Desktop.
const Balance = () => {
return (
<div className='component exchange__transfers'>
<div className='component__header flex-between'>
<h2>Balance</h2>
<div className='tabs'>
<button className='tab tab--active'>Deposit</button>
<button className='tab'>Withdraw</button>
</div>
</div>
{/* Deposit/Withdraw Component 1 (DApp) */}
<div className='exchange__transfers--form'>
<div className='flex-between'>
</div>
<form>
<label htmlFor="token0"></label>
<input type="text" id='token0' placeholder='0.0000' />
<button className='button' type='submit'>
<span></span>
</button>
</form>
</div>
<hr />
{/* Deposit/Withdraw Component 2 (mETH) */}
<div className='exchange__transfers--form'>
<div className='flex-between'>
</div>
<form>
<label htmlFor="token1"></label>
<input type="text" id='token1' placeholder='0.0000'/>
<button className='button' type='submit'>
<span></span>
</button>
</form>
</div>
<hr />
</div>
);
}
export default Balance;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment