// Copyright 2019-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React, { CSSProperties, FunctionComponent } from 'react'; import { BaseConversationListItem, MESSAGE_TEXT_CLASS_NAME, } from './BaseConversationListItem'; import { LocalizerType } from '../../types/Util'; const TEXT_CLASS_NAME = `${MESSAGE_TEXT_CLASS_NAME}__start-new-conversation`; type PropsData = { phoneNumber: string; }; type PropsHousekeeping = { i18n: LocalizerType; style: CSSProperties; onClick: () => void; }; export type Props = PropsData & PropsHousekeeping; export const StartNewConversation: FunctionComponent = React.memo( ({ i18n, onClick, phoneNumber, style }) => { const messageText = (
{i18n('startConversation')}
); return ( ); } );