From 2eb27b31dfa75c50c787acdbdf8532f070bbba4c Mon Sep 17 00:00:00 2001 From: Amir Shabani Date: Wed, 29 Sep 2021 14:34:51 +0330 Subject: [PATCH] rename function to H3 instead of H1 --- app/components/Text/H3/H3.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Text/H3/H3.tsx b/app/components/Text/H3/H3.tsx index 1c7a35e0..6437b27e 100644 --- a/app/components/Text/H3/H3.tsx +++ b/app/components/Text/H3/H3.tsx @@ -14,7 +14,7 @@ interface Props { center?: boolean; } -export default function H1(props: Props): React.ReactElement { +export default function H3(props: Props): React.ReactElement { const customStyle = [styles.default, props.style]; const { darkGray, lightGray, green, blue, center } = props; @@ -41,4 +41,4 @@ export default function H1(props: Props): React.ReactElement { return ; } -H1.displayName = "H3"; +H3.displayName = "H3";