You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
449 B
14 lines
449 B
import { HTMLAttributes } from 'react';
|
|
|
|
export default function InputLabel({ className = '', children, ...props }: HTMLAttributes<HTMLLabelElement> & { htmlFor?: string }) {
|
|
return (
|
|
<label
|
|
{...props}
|
|
className={'bg-secondary-main h-[30px] w-[30px] flex items-center justify-center flex-shrink-0 join-item' +
|
|
className
|
|
}
|
|
>
|
|
{ children }
|
|
</label>
|
|
);
|
|
}
|