fix: Admin
Deskripsi: - Penambahan field nama rekening di db bank - Optimalisasi event ## No Issue
This commit is contained in:
3
src/app_modules/admin/app_info/component/index.tsx
Normal file
3
src/app_modules/admin/app_info/component/index.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
import { AdminAppInformation_ComponentTitlePageBank } from "./info_bank/comp_title_page";
|
||||
|
||||
export { AdminAppInformation_ComponentTitlePageBank };
|
||||
@@ -0,0 +1,32 @@
|
||||
import { ComponentAdminGlobal_TitlePage } from "@/app_modules/admin/_admin_global";
|
||||
import { Button } from "@mantine/core";
|
||||
import { IconCirclePlus } from "@tabler/icons-react";
|
||||
|
||||
export function AdminAppInformation_ComponentTitlePageBank({
|
||||
onEventListener,
|
||||
}: {
|
||||
onEventListener: (val: any) => void;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<ComponentAdminGlobal_TitlePage
|
||||
name="Informasi Bank"
|
||||
component={
|
||||
<Button
|
||||
w={120}
|
||||
leftIcon={<IconCirclePlus />}
|
||||
radius={"xl"}
|
||||
onClick={() => {
|
||||
onEventListener({
|
||||
isCreate: true,
|
||||
isUpdate: false,
|
||||
});
|
||||
}}
|
||||
>
|
||||
Tambah
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user