diff --git a/stubs/inertia-react/resources/js/Components/ApplicationLogo.jsx b/stubs/inertia-react/resources/js/Components/ApplicationLogo.jsx index 57bc22233..21579606d 100644 --- a/stubs/inertia-react/resources/js/Components/ApplicationLogo.jsx +++ b/stubs/inertia-react/resources/js/Components/ApplicationLogo.jsx @@ -1,5 +1,3 @@ -import React from 'react'; - export default function ApplicationLogo({ className }) { return ( diff --git a/stubs/inertia-react/resources/js/Components/Checkbox.jsx b/stubs/inertia-react/resources/js/Components/Checkbox.jsx index 3325e700c..0a02f05f9 100644 --- a/stubs/inertia-react/resources/js/Components/Checkbox.jsx +++ b/stubs/inertia-react/resources/js/Components/Checkbox.jsx @@ -1,5 +1,3 @@ -import React from 'react'; - export default function Checkbox({ name, value, handleChange }) { return (
+ return ( + + -
-
-
+
-
{children} -
+
-
-
, - modalRoot + + ); } diff --git a/stubs/inertia-react/resources/js/Components/NavLink.jsx b/stubs/inertia-react/resources/js/Components/NavLink.jsx index 7b6a9e935..be7b1b312 100644 --- a/stubs/inertia-react/resources/js/Components/NavLink.jsx +++ b/stubs/inertia-react/resources/js/Components/NavLink.jsx @@ -1,4 +1,3 @@ -import React from 'react'; import { Link } from '@inertiajs/inertia-react'; export default function NavLink({ href, active, children }) { diff --git a/stubs/inertia-react/resources/js/Components/PrimaryButton.jsx b/stubs/inertia-react/resources/js/Components/PrimaryButton.jsx index 2506b3708..0dfe55fbc 100644 --- a/stubs/inertia-react/resources/js/Components/PrimaryButton.jsx +++ b/stubs/inertia-react/resources/js/Components/PrimaryButton.jsx @@ -1,5 +1,3 @@ -import React from 'react'; - export default function PrimaryButton({ type = 'submit', className = '', processing, children, onClick }) { return (