Skip to content

Commit

Permalink
fixes #122: Updating Badge font styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Stilwell committed Oct 17, 2022
1 parent 640921f commit 0645525
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui-components/src/Badge/Badge.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { FunctionComponent } from "react";
import classNames from "classnames/bind";

import { Heading } from "../../src";
import objectToClassnames from "../utils/objectToClassnames";

import styles from "./Badge.module.scss";
Expand Down Expand Up @@ -37,7 +38,7 @@ export const Badge: FunctionComponent<BadgeProps> = ({
if (children !== undefined) {
return (
<div className={classnames} {...props}>
{children}
<Heading type="h6">{children}</Heading>
</div>
);
}
Expand Down

0 comments on commit 0645525

Please sign in to comment.