Event: Add file: - contibution with id - list of participan - publish - BoxDetailPublishSection - BoxPublishSection - menuDrawerPublish Fix: Event: - layout dan index\ # No Issue
20 lines
593 B
TypeScript
20 lines
593 B
TypeScript
import ViewWrapper from "@/components/_ShareComponent/ViewWrapper";
|
|
import FloatingButton from "@/components/Button/FloatingButton";
|
|
import Event_BoxPublishSection from "@/screens/Event/BoxPublishSection";
|
|
import { router } from "expo-router";
|
|
|
|
export default function Event() {
|
|
return (
|
|
<ViewWrapper
|
|
hideFooter
|
|
floatingButton={
|
|
<FloatingButton onPress={() => router.push("/event/create")} />
|
|
}
|
|
>
|
|
{Array.from({ length: 10 }).map((_, index) => (
|
|
<Event_BoxPublishSection key={index} id={index.toString()} />
|
|
))}
|
|
</ViewWrapper>
|
|
);
|
|
}
|