import React, { useState } from 'react'; import { ToastContainer } from 'react-toastify'; import NavLink from '@/Components/NavLink'; import ResponsiveNavLink from '@/Components/ResponsiveNavLink'; import { Link } from '@inertiajs/inertia-react'; export default function Authenticated({ header, children }) { const [showingNavigationDropdown, setShowingNavigationDropdown] = useState(false); return (
{header && (
{header}
)}
{children}
); }