created reusable button component, created course info header component, created utility type for Colors, removed typescript-css-modules plugin, and added a threshold to the infinite scroll hook
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import classNames from 'classnames';
|
||||
import React, { PropsWithChildren } from 'react';
|
||||
import colors, { ISassColors } from 'src/views/styles/colors.module.scss';
|
||||
import colors, { Color } from 'src/views/styles/colors.module.scss';
|
||||
import fonts, { Size, Weight } from 'src/views/styles/fonts.module.scss';
|
||||
import styles from './Text.module.scss';
|
||||
|
||||
export type TextProps = {
|
||||
color?: keyof ISassColors;
|
||||
color?: Color;
|
||||
weight?: Weight;
|
||||
size: Size;
|
||||
span?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user