stubs/inertia-react-ts/app/javascript/Components/InputLabel.tsx in kaze-0.6.0 vs stubs/inertia-react-ts/app/javascript/Components/InputLabel.tsx in kaze-0.7.0
- old
+ new
@@ -7,13 +7,10 @@
...props
}: LabelHTMLAttributes<HTMLLabelElement> & { value?: string }) {
return (
<label
{...props}
- className={
- `block font-medium text-sm text-gray-700 dark:text-gray-300 ` +
- className
- }
+ className={`block font-medium text-sm text-gray-700 dark:text-gray-300 ${className}`}
>
{value ? value : children}
</label>
)
}