From 05af6c4e197231feab48c1bbb5f44238cd4da543 Mon Sep 17 00:00:00 2001 From: FromTheLOLAshes Date: Mon, 1 Apr 2024 20:11:20 +0700 Subject: [PATCH] Fix review comment --- app/components/Typography.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/components/Typography.tsx b/app/components/Typography.tsx index f93a5e9c4c..6681398a8e 100644 --- a/app/components/Typography.tsx +++ b/app/components/Typography.tsx @@ -1,59 +1,59 @@ import { twMerge } from "tailwind-merge"; -interface TypogProps { +interface TypoProps { className?: string; children: React.ReactNode; } const baseTypo = "text-white"; -export const H1 = ({ className, children }: TypogProps) => ( +export const H1 = ({ className, children }: TypoProps) => (

{children}

); -export const H2 = ({ className, children }: TypogProps) => ( +export const H2 = ({ className, children }: TypoProps) => (

{" "} {children}{" "}

); -export const H3 = ({ className, children }: TypogProps) => ( +export const H3 = ({ className, children }: TypoProps) => (

{" "} {children}{" "}

); -export const H4 = ({ className, children }: TypogProps) => ( +export const H4 = ({ className, children }: TypoProps) => (

{" "} {children}{" "}

); -export const Label = ({ className, children }: TypogProps) => ( +export const Label = ({ className, children }: TypoProps) => ( ); -export const H5 = ({ className, children }: TypogProps) => ( +export const H5 = ({ className, children }: TypoProps) => (
{" "} {children}{" "}
); -export const H6 = ({ className, children }: TypogProps) => ( +export const H6 = ({ className, children }: TypoProps) => (
{" "} {children}{" "}
); -export const P = ({ className, children }: TypogProps) => ( +export const P = ({ className, children }: TypoProps) => (

{children}

);