Equicord/src/equicordplugins/allCallTimers/timerText.tsx

15 lines
573 B
TypeScript
Raw Normal View History

2024-04-17 14:29:47 -04:00
/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
export function TimerText({ text, className }: Readonly<{ text: string; className: string; }>) {
return <div className={`timeCounter ${className}`} style={{
marginTop: -6, // this margin value doesn't change the default size of the user container
fontWeight: "bold",
fontFamily: "monospace",
fontSize: 11, // good size that doesn't touch username
position: "relative",
}}>{text}</div>;
}