Skip to content

Commit 66a4423

Browse files
committed
refactor: brand to include logo component
1 parent e516e94 commit 66a4423

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libs/ui/src/components/Brand.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { Group, Stack, Title } from "@mantine/core";
2-
import Logo from "../../../../apps/frontend/public/logo.svg?react";
2+
import React, { ComponentType } from "react";
33

44
type Props = {
55
title: string;
6+
Logo: ComponentType<React.SVGProps<SVGSVGElement> | React.ImgHTMLAttributes<HTMLImageElement>>;
67
};
78

8-
export function Brand({ title }: Props) {
9+
export function Brand({ title, Logo }: Props) {
910
return (
1011
<Group className="quassel-Brand" gap="md">
1112
<Logo className="quassel-Logo" />

0 commit comments

Comments
 (0)