Admin Forum
Add: - admin/forum/report-posting - admin/forum/report-comment - admin/forum/posting - admin/forum/[id] Component Fix: - screens/Admin/listPageAdmin - app/(application)/admin/_layout - Admin/TitlePage - Admin/BackButtonAntTitle - Admin/BoxTitlePage Package Install Add: - react-native-toast-message: untuk menampilkan toast ### No Issue
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import Grid from "@/components/Grid/GridCustom";
|
||||
import TextCustom from "@/components/Text/TextCustom";
|
||||
import { View } from "react-native";
|
||||
import AdminBackButton from "./BackButton";
|
||||
|
||||
export default function AdminBackButtonAntTitle({
|
||||
title,
|
||||
rightComponent,
|
||||
}: {
|
||||
title: string;
|
||||
rightComponent?: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
@@ -22,8 +23,8 @@ export default function AdminBackButtonAntTitle({
|
||||
{title}
|
||||
</TextCustom>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={2}>
|
||||
<View />
|
||||
<Grid.Col span={2} style={{ alignItems: "flex-end" }}>
|
||||
{rightComponent}
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user