add module

Deskripsi:
- add notification
- add search
- project

No issue
This commit is contained in:
lukman
2024-07-04 12:36:37 +08:00
parent 78aeb3d374
commit 615e21e892
11 changed files with 207 additions and 19 deletions

View File

@@ -0,0 +1,19 @@
'use client'
import { ActionIcon, Box } from '@mantine/core';
import { useRouter } from 'next/navigation';
import React from 'react';
import { HiChevronLeft } from 'react-icons/hi2';
import { WARNA } from '../fun/WARNA';
function LayoutIconBack({ back }: { back: string }) {
const router = useRouter()
return (
<Box>
<ActionIcon variant="light" onClick={() => router.push(back)} bg={WARNA.bgIcon} size="lg" radius="lg" aria-label="Settings">
<HiChevronLeft size={20} color='white' />
</ActionIcon>
</Box>
);
}
export default LayoutIconBack;