⬆ Bump minor frontend deps

♻ Stop using React.FC
This commit is contained in:
nikolark committed 2022-04-17 15:00:10 +02:00
1 parent a038340e4a
commit 8577fb9f11
13 files changed
+985 -924

No files matched your search

+8 -10
View File
@@ -8,14 +8,12 @@ interface SplashProps {
noOverlay?: boolean;
}
export const Splash: React.FC<SplashProps> = ({ brandText = "BBS", noOverlay = false }) => {
return (
<div className={clsx(styles.splash, { [styles.overlay]: !noOverlay })}>
<div className={styles.wrap}>
<div className={styles.sun}></div>
<div className={styles.brand}>{brandText}</div>
<div className={styles.subtitle}>Biceps Bar System</div>
</div>
export const Splash = ({ brandText = "BBS", noOverlay = false }: SplashProps): JSX.Element => (
<div className={clsx(styles.splash, { [styles.overlay]: !noOverlay })}>
<div className={styles.wrap}>
<div className={styles.sun}></div>
<div className={styles.brand}>{brandText}</div>
<div className={styles.subtitle}>Biceps Bar System</div>
</div>
);
};
</div>
);