import React from 'react'; import { useTranslation } from 'react-i18next'; import Button from '../components/Button'; import Icon from '../components/Icon'; import ExpansionPanel from '../components/ExpansionPanel'; import useActions from '../actions'; import useStore from '../store'; import { BtnWrapper } from '../global/toolStyled'; const CreateForm: React.FC = () => { const { t } = useTranslation('sidebar'); const [{ sidebarState }, dispatch] = useStore(); const { setSidebar } = useActions(dispatch); const onClickSidebar = (state: string): void => { if (state === sidebarState) { setSidebar(''); } else { setSidebar(state); } }; const Label = ( ); return ( ); }; export default CreateForm;