import clsx from 'clsx'; import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import { openModal } from 'soapbox/actions/modals'; import { Icon } from 'soapbox/components/ui'; import { useAppDispatch } from 'soapbox/hooks'; const messages = defineMessages({ publish: { id: 'compose_form.publish', defaultMessage: 'Publish' }, }); interface IFloatingActionButton { } /** FloatingActionButton (aka FAB), a composer button that floats in the corner on mobile. */ const FloatingActionButton: React.FC = () => { const intl = useIntl(); const dispatch = useAppDispatch(); const handleOpenComposeModal = () => { dispatch(openModal('COMPOSE')); }; return ( ); }; export default FloatingActionButton;