Component

Add:
- Badge
- Container

Voting
Add:
- screens/Voting

Fix:
- (tabs)/ index, contribution, status

# No Issue
This commit is contained in:
2025-07-28 12:24:35 +08:00
parent 20258d1fe5
commit b18044f53f
10 changed files with 467 additions and 19 deletions

View File

@@ -1,9 +1,27 @@
import { TextCustom, ViewWrapper } from "@/components";
import {
BadgeCustom,
StackCustom,
TextCustom,
ViewWrapper,
} from "@/components";
import Voting_BoxPublishSection from "@/screens/Voting/BoxPublishSection";
import { GStyles } from "@/styles/global-styles";
export default function VotingContribution() {
const bottomComponent = (
<StackCustom>
<TextCustom align="center">Pilihan Anda:</TextCustom>
<BadgeCustom style={[GStyles.alignSelfCenter]}>Pilihan 1</BadgeCustom>
</StackCustom>
);
return (
<ViewWrapper>
<TextCustom>Voting Contribution</TextCustom>
<ViewWrapper hideFooter>
{Array.from({ length: 5 }).map((_, index) => (
<Voting_BoxPublishSection
key={index}
bottomComponent={bottomComponent}
/>
))}
</ViewWrapper>
);
}