Nguyen Thanh Hoang
feat(dashoard): implement page dashboard (#4)
e0eaa09 unverified
'use client';
import { cn } from '@/utils/Helpers';
import * as React from 'react';
export type LabelProps = {} & React.LabelHTMLAttributes<HTMLLabelElement>;
const Label = React.forwardRef<HTMLLabelElement, LabelProps>(({ className, ...props }, ref) => {
return (
// eslint-disable-next-line jsx-a11y/label-has-associated-control
<label
ref={ref}
className={cn(
'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
className,
)}
{...props}
/>
);
});
Label.displayName = 'Label';
export { Label };