Add: - (application)/admin/donation/ Component Admin Add: - _ShareComponent/GridView_3_3_6.tsx ### No Issue
28 lines
733 B
TypeScript
28 lines
733 B
TypeScript
import {
|
|
BoxButtonOnFooter,
|
|
ButtonCustom,
|
|
TextInputCustom,
|
|
ViewWrapper,
|
|
} from "@/components";
|
|
import AdminBackButtonAntTitle from "@/components/_ShareComponent/Admin/BackButtonAntTitle";
|
|
import { useRouter } from "expo-router";
|
|
|
|
export default function AdminDonationCategoryCreate() {
|
|
const router = useRouter();
|
|
const buttonSubmit = (
|
|
<BoxButtonOnFooter>
|
|
<ButtonCustom onPress={() => router.back()}>Simpan</ButtonCustom>
|
|
</BoxButtonOnFooter>
|
|
);
|
|
return (
|
|
<>
|
|
<ViewWrapper
|
|
headerComponent={<AdminBackButtonAntTitle title="Tambah Kategori" />}
|
|
footerComponent={buttonSubmit}
|
|
>
|
|
<TextInputCustom placeholder="Masukkan Kategori" />
|
|
</ViewWrapper>
|
|
</>
|
|
);
|
|
}
|