import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import ComposeFormButton from './compose_form_button'; const messages = defineMessages({ marked: { id: 'compose_form.markdown.marked', defaultMessage: 'Post markdown enabled' }, unmarked: { id: 'compose_form.markdown.unmarked', defaultMessage: 'Post markdown disabled' }, }); interface IMarkdownButton { active?: boolean, onClick: () => void, } const MarkdownButton: React.FC = ({ active, onClick }) => { const intl = useIntl(); return ( ); }; export default MarkdownButton;