import { FC, useContext } from 'react'; import { Button, ButtonGroup } from '@sweatpants/react'; import { Open } from '../icons'; import { css } from '../../../styled-system/css'; import { SettingsContext } from '../context/settings'; import { useUrl } from '../hooks/useUrl'; import { LibraContext } from '../context/libra'; export const Toolbar: FC = () => { const { hideSidebar, toggleSidebar, setColorChoice, colorChoice } = useContext(SettingsContext); const { activeId } = useContext(LibraContext); const url = useUrl({ id: activeId, preview: true }); return (
); };