feat: Complete Admin Phase 3 Donation screens migration to OS_Wrapper

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2026-04-15 11:42:28 +08:00
parent 115e9c49a2
commit e260ed546b
14 changed files with 804 additions and 44 deletions

View File

@@ -4,8 +4,8 @@ import {
StackCustom,
TextCustom,
TextInputCustom,
ViewWrapper,
} from "@/components";
import OS_Wrapper from "@/components/_ShareComponent/OS_Wrapper";
import AdminBackButtonAntTitle from "@/components/_ShareComponent/Admin/BackButtonAntTitle";
import { MainColor } from "@/constants/color-palet";
import { apiAdminMasterDonationCategoryCreate } from "@/service/api-admin/api-master-admin";
@@ -55,7 +55,9 @@ export default function AdminDonationCategoryCreate() {
);
return (
<>
<ViewWrapper
<OS_Wrapper
enableKeyboardHandling
contentPaddingBottom={250}
headerComponent={<AdminBackButtonAntTitle title="Tambah Kategori" />}
footerComponent={buttonSubmit}
>
@@ -76,7 +78,7 @@ export default function AdminDonationCategoryCreate() {
onValueChange={(value) => setData({ ...data, active: value })}
/>
</StackCustom>
</ViewWrapper>
</OS_Wrapper>
</>
);
}