import React from 'react' import { router, usePage } from '@inertiajs/react' import { HiOutlineBell } from 'react-icons/hi' import BalanceBanner from './BalanceBanner' export default function UserBanner({ user }) { const { props: { notification_count }, } = usePage() return (
{/* user */}
{user.name}
{user.username}
{user.level.name}
{ router.get(route('notification.index')) }} >
{notification_count}
{/* saldo */}
) }