function messageTextClass
messageTextClass(body: string): string

Returns the class for the text of a sent or pending message. A message of nothing but a few emoji gets the one that shows it large.

Parameters

body: string

Return Type

string

Usage

import { messageTextClass } from "src/utils/chat/message.ts";