Skip to content

Commit

Permalink
rename function to H3 instead of H1
Browse files Browse the repository at this point in the history
  • Loading branch information
Schabaani authored Sep 29, 2021
1 parent 3b208dc commit 2eb27b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/Text/H3/H3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -41,4 +41,4 @@ export default function H1(props: Props): React.ReactElement {
return <Text {...props} style={customStyle} />;
}

H1.displayName = "H3";
H3.displayName = "H3";

0 comments on commit 2eb27b3

Please sign in to comment.