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

  1. import { HTMLAttributes } from 'react';
  2. export default function InputLabel({ className = '', children, ...props }: HTMLAttributes<HTMLLabelElement> & { htmlFor?: string }) {
  3. return (
  4. <label
  5. {...props}
  6. className={'bg-secondary-main h-[30px] w-[30px] flex items-center justify-center flex-shrink-0 join-item' +
  7. className
  8. }
  9. >
  10. { children }
  11. </label>
  12. );
  13. }