signal-desktop/ts/components/UserText.tsx

13 lines
310 B
TypeScript
Raw Normal View History

2023-04-20 17:03:43 +00:00
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import { Emojify } from './conversation/Emojify';
export function UserText({ text }: { text: string }): JSX.Element {
return (
<span dir="auto">
<Emojify text={text} />
</span>
);
}