import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import { Button, Stack, Text } from 'soapbox/components/ui'; const messages = defineMessages({ title: { id: 'chat_search.empty_results_blankslate.title', defaultMessage: 'No messages yet' }, body: { id: 'chat_search.empty_results_blankslate.body', defaultMessage: 'You can start a conversation with anyone that follows you.' }, action: { id: 'chat_search.empty_results_blankslate.action', defaultMessage: 'Message someone' }, }); interface IBlankslate { onSearch(): void } const Blankslate = ({ onSearch }: IBlankslate) => { const intl = useIntl(); return ( {intl.formatMessage(messages.title)} {intl.formatMessage(messages.body)}
); }; export default Blankslate;