Add: - Component alert system - Page collaboration Id Fix: - Box base - Menu drawer dibuatkan interface # No Issue '
29 lines
734 B
TypeScript
29 lines
734 B
TypeScript
import { FloatingButton, ViewWrapper } from "@/components";
|
|
import Collaboration_BoxPublishSection from "@/screens/Collaboration/BoxPublishSection";
|
|
import { router } from "expo-router";
|
|
|
|
export default function CollaborationBeranda() {
|
|
return (
|
|
<>
|
|
<ViewWrapper
|
|
hideFooter
|
|
floatingButton={
|
|
<FloatingButton
|
|
onPress={() => {
|
|
router.push("/collaboration/create");
|
|
}}
|
|
/>
|
|
}
|
|
>
|
|
{Array.from({ length: 10 }).map((_, index) => (
|
|
<Collaboration_BoxPublishSection
|
|
key={index}
|
|
id={index.toString()}
|
|
href={`/collaboration/${index}`}
|
|
/>
|
|
))}
|
|
</ViewWrapper>
|
|
</>
|
|
);
|
|
}
|