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