5_до_доп_задания

This commit is contained in:
GokaPek 2024-01-12 14:56:10 +04:00
parent 3fa15f53a7
commit 1ff0c01ebe
2 changed files with 13 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -39,9 +39,9 @@ const Cart = () => {
return ( return (
<div className='d-flex flex-column align-items-center'> <div className='d-flex flex-column align-items-center'>
<div className='mb-2 col-12 col-md-8 col-lg-6 d-flex align-items-center'> <div className='mb-2 col-12 col-md-8 col-lg-6 d-flex align-items-center'>
<strong className='flex-fill'>Корзина</strong> <strong className='flex-fill'></strong>
<Button variant='danger' onClick={() => clearCart()}> <Button variant='danger' onClick={() => clearCart()}>
<XLg /> Очистить <XLg /> Clear
</Button> </Button>
</div> </div>
{ {