stubs/inertia-react-ts/app/javascript/Components/Dropdown.tsx in kaze-0.6.0 vs stubs/inertia-react-ts/app/javascript/Components/Dropdown.tsx in kaze-0.7.0

- old
+ new

@@ -92,13 +92,11 @@ <div className={`absolute z-50 mt-2 rounded-md shadow-lg ${alignmentClasses} ${widthClasses}`} onClick={() => setOpen(false)} > <div - className={ - `rounded-md ring-1 ring-black ring-opacity-5 ` + contentClasses - } + className={`rounded-md ring-1 ring-black ring-opacity-5 ${contentClasses}`} > {children} </div> </div> </Transition> @@ -112,13 +110,10 @@ ...props }: InertiaLinkProps) => { return ( <Link {...props} - className={ - 'block w-full px-4 py-2 text-start text-sm leading-5 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 focus:outline-none focus:bg-gray-100 dark:focus:bg-gray-800 transition duration-150 ease-in-out ' + - className - } + className={`block w-full px-4 py-2 text-start text-sm leading-5 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 focus:outline-none focus:bg-gray-100 dark:focus:bg-gray-800 transition duration-150 ease-in-out ${className}`} > {children} </Link> ) }