Raw
1 import clsx from "clsx"
2 import React from "react"
3
4 export type LabelProps = {
5 className?: string
6 } & React.HTMLAttributes<HTMLSpanElement>
7
8 export const Label = ({ children, className }: LabelProps) => {
9 return (
10 <span
11 className={clsx(
12 "text-medusa-fg-base text-compact-medium-plus",
13 className
14 )}
15 >
16 {children}
17 </span>
18 )
19 }