stubs/inertia-react-ts/app/javascript/Components/InputLabel.tsx in kaze-0.8.0 vs stubs/inertia-react-ts/app/javascript/Components/InputLabel.tsx in kaze-0.9.0

- old
+ new

@@ -5,13 +5,10 @@ className = '', children, ...props }: LabelHTMLAttributes<HTMLLabelElement> & { value?: string }) { return ( - <label - {...props} - className={`block font-medium text-sm text-gray-700 dark:text-gray-300 ${className}`} - > + <label {...props} className={`block font-medium text-sm text-gray-700 dark:text-gray-300 ${className}`}> {value ? value : children} </label> ) }