Skip to content

Commit

Permalink
Merge pull request #328 from Schabaani/patch-1
Browse files Browse the repository at this point in the history
rename function to H3 instead of H1
  • Loading branch information
PierreBresson authored Sep 30, 2021
2 parents 2264ade + 2eb27b3 commit 76d3c55
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 76d3c55

Please sign in to comment.