[#189] added custom event chip (#262)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2025-10-31 11:50:22 +01:00
committed by GitHub
parent 39d8085766
commit ec7230fa94
14 changed files with 689 additions and 218 deletions
+3 -2
View File
@@ -7,6 +7,7 @@ type InfoRowProps = {
error?: boolean;
data?: string; // optional link target
content?: React.ReactNode; // if provided, overrides text rendering
style?: React.CSSProperties;
};
function detectUrls(text: string) {
@@ -60,6 +61,7 @@ export function InfoRow({
error = false,
data,
content,
style,
}: InfoRowProps) {
return (
<Box
@@ -83,8 +85,7 @@ export function InfoRow({
maxHeight: "33vh",
overflowY: "auto",
width: "100%",
fontSize: "16px",
fontFamily: "'Inter', sans-serif",
...style,
}}
>
{data ? (