Skip to content

Commit 9f39568

Browse files
committed
fix: rename logo component
1 parent dc94699 commit 9f39568

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed
File renamed without changes.

src/components/AppLogo/AppLogo.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import clsx from "clsx";
2+
import React from "react";
3+
import styles from "./AppLogo.module.scss";
4+
5+
export type AppLogoProps = React.HTMLAttributes<HTMLDivElement>;
6+
7+
export default function AppLogo({ className, ...props }: AppLogoProps) {
8+
return <div className={clsx(styles.wrapper, className)} {...props} />;
9+
}

src/components/AppLogo/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "./AppLogo";
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import Logo from "../Logo";
1+
import AppLogo from "../AppLogo";
22
import styles from "./FirstLoader.module.scss";
33

44
export default function FirstLoader() {
55
return (
66
<div className={styles.wrapper}>
7-
<Logo className={styles.logo} />
7+
<AppLogo className={styles.logo} />
88
</div>
99
);
1010
}

src/components/logo/Logo.tsx

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/components/logo/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)