All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 39s
Build & Deploy / 🧪 QA (push) Successful in 1m44s
Build & Deploy / 🏗️ Build (push) Successful in 3m23s
Build & Deploy / 🚀 Deploy (push) Successful in 47s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 1m2s
Build & Deploy / 🔔 Notify (push) Successful in 2s
19 lines
427 B
TypeScript
19 lines
427 B
TypeScript
import React from 'react';
|
|
import { cn } from './utils';
|
|
|
|
export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
className?: string;
|
|
}
|
|
|
|
export function Label({ className, ...props }: LabelProps) {
|
|
return (
|
|
<label
|
|
className={cn(
|
|
'text-[10px] md:text-xs font-extrabold text-primary uppercase tracking-widest select-none',
|
|
className
|
|
)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|