Add: - BoxDetailContribution - app/(application)/(user)/voting/[id]/contribution.tsx Fix: - app/(application)/(user)/voting/(tabs)/contribution.tsx - app/(application)/(user)/voting/[id]/[status]/detail.tsx - app/(application)/(user)/voting/[id]/list-of-contributor.tsx - app/(application)/(user)/voting/[id]/index.tsx # No Issue
27 lines
630 B
TypeScript
27 lines
630 B
TypeScript
import {
|
|
AvatarUsernameAndOtherComponent,
|
|
BadgeCustom,
|
|
BaseBox,
|
|
ViewWrapper,
|
|
} from "@/components";
|
|
|
|
export default function Voting_ListOfContributor() {
|
|
return (
|
|
<ViewWrapper>
|
|
{Array.from({ length: 10 }).map((_, index) => (
|
|
<BaseBox paddingTop={5} paddingBottom={5} key={index.toString()}>
|
|
<AvatarUsernameAndOtherComponent
|
|
rightComponent={
|
|
<BadgeCustom
|
|
style={{alignSelf: "flex-end" }}
|
|
>
|
|
Pilihan {index + 1}
|
|
</BadgeCustom>
|
|
}
|
|
/>
|
|
</BaseBox>
|
|
))}
|
|
</ViewWrapper>
|
|
);
|
|
}
|