deskripsi:
Fix event: layout dan event deatil Feature: Button dot, edit screen # No Issue
This commit is contained in:
19
screens/Event/ButtonStatusSection.tsx
Normal file
19
screens/Event/ButtonStatusSection.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { ButtonCustom } from "@/components";
|
||||
import { View } from "react-native";
|
||||
|
||||
export default function Event_ButtonStatusSection({
|
||||
detail,
|
||||
}: {
|
||||
detail: string;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
{detail && detail === "draft" && (
|
||||
<View>
|
||||
<ButtonCustom>Ajukan Review</ButtonCustom>
|
||||
<ButtonCustom backgroundColor="red">Hapus</ButtonCustom>
|
||||
</View>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user