finished grade distribution ui

This commit is contained in:
Sriram Hariharan
2023-03-08 20:44:34 -06:00
parent 2562e65d66
commit c1910bacb0
5 changed files with 74 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ import styles from './Text.module.scss';
export type TextProps = {
color?: Color;
weight?: Weight;
size: Size;
size?: Size;
span?: boolean;
className?: string;
onClick?: () => void;
@@ -31,11 +31,10 @@ export default function Text(props: PropsWithChildren<TextProps>) {
const className = classNames(
styles.text,
props.className,
styles[weightClass],
styles[fontSizeClass],
styles[lineHightClass]
styles[lineHightClass],
props.className
);
if (props.span) {