We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e516e94 commit 66a4423Copy full SHA for 66a4423
libs/ui/src/components/Brand.tsx
@@ -1,11 +1,12 @@
1
import { Group, Stack, Title } from "@mantine/core";
2
-import Logo from "../../../../apps/frontend/public/logo.svg?react";
+import React, { ComponentType } from "react";
3
4
type Props = {
5
title: string;
6
+ Logo: ComponentType<React.SVGProps<SVGSVGElement> | React.ImgHTMLAttributes<HTMLImageElement>>;
7
};
8
-export function Brand({ title }: Props) {
9
+export function Brand({ title, Logo }: Props) {
10
return (
11
<Group className="quassel-Brand" gap="md">
12
<Logo className="quassel-Logo" />
0 commit comments