Skip to content

Commit

Permalink
feat: dividers in calendar bottom bar (#120)
Browse files Browse the repository at this point in the history
* feat: added dividers to CalendarBottomBar

* fix: fix import order
  • Loading branch information
Samathingamajig authored and doprz committed Mar 6, 2024
1 parent d9ee23c commit eba5d9f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { UserScheduleStore } from '@shared/storage/UserScheduleStore';
import { Button } from '@views/components/common/Button/Button';
import Divider from '@views/components/common/Divider/Divider';
import Text from '@views/components/common/Text/Text';
import clsx from 'clsx';
import { toPng } from 'html-to-image';
Expand Down Expand Up @@ -126,9 +127,11 @@ export const CalendarBottomBar = ({ courses, calendarRef }: CalendarBottomBarPro
</div>
</div>
<div className='flex items-center pl-2.5 pr-7.5'>
<Divider orientation='vertical' size='1rem' className='mx-1.25' />
<Button variant='single' color='ut-black' icon={CalendarMonthIcon} onClick={saveAsCal}>
Save as .CAL
</Button>
<Divider orientation='vertical' size='1rem' className='mx-1.25' />
<Button variant='single' color='ut-black' icon={ImageIcon} onClick={saveAsPng}>
Save as .PNG
</Button>
Expand Down

0 comments on commit eba5d9f

Please sign in to comment.