import styles from "./loading.module.css" type Size = "small" | "medium" | "large" type Color = "white" | "burgundy" type Props = { size?: Size color?: Color className?: string } export function Loading({ size = "medium", color = "burgundy", className, }: Props) { return ( ) } const colors: { [color in Color]: string } = { white: "#fff", burgundy: "var(--Scandic-Brand-Burgundy)", } const sizes: { [size in Size]: number } = { small: 16, medium: 20, large: 24, }