fix: styles missing on headline component (#366)
This commit is contained in:
parent
45689059c7
commit
f7a9c077b0
1 changed files with 2 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
|||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import { TextProps } from "../Text";
|
||||
import Styles from "../Text.module.css";
|
||||
|
||||
const Headline: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
const classes = classnames("text--headline", props?.className, props?.color);
|
||||
const classes = classnames(Styles["text--headline"], props?.className, props?.color);
|
||||
|
||||
return <h1 className={classes}>{props.children}</h1>;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue