Chore/eslint curly braces * Add eslint rule for curly braces * run eslint --fix for all files Approved-by: Linus Flood
23 lines
486 B
TypeScript
23 lines
486 B
TypeScript
import { useIntl } from "react-intl"
|
|
|
|
import BiroScript from "@/components/TempDesignSystem/Text/BiroScript"
|
|
|
|
import styles from "./yourLevel.module.css"
|
|
|
|
export default function YourLevel() {
|
|
const intl = useIntl()
|
|
return (
|
|
<BiroScript
|
|
className={styles.script}
|
|
color="peach80"
|
|
type="two"
|
|
textAlign="center"
|
|
>
|
|
{intl.formatMessage({
|
|
id: "overviewTable.yourLevel",
|
|
defaultMessage: "Your level",
|
|
})}
|
|
</BiroScript>
|
|
)
|
|
}
|