Files
discord-decomp/modules/messages/native/long_press/LongPressMessageChatItemPreview.tsx
T
2026-11-01 12:12:55 +02:00

15 lines
685 B
TypeScript

// Metro module 9881 (f9882).
import { createStyles } from "../../../../design/components/Styles/native/createStyles";
import Module712 from "../../../../_bundle/Module712";
import RowGenerator from "../renderer/RowGenerator";
import ChatItem from "../../../../components_native/chat/ChatItem";
const useStyles = createStyles({
chatItem: {
maxHeight: 2 * Module712.space.PX_80
}
});
const rowGenerator = new RowGenerator();
export default function LongPressMessageChatItemPreview(props) {
return <ChatItem rowGenerator={rowGenerator} message={props.message} maxHeight={useStyles().chatItem.maxHeight} backgroundColor={Module712.colors.MOBILE_ALERT_BACKGROUND_DEFAULT} />;
};