Add: - ComponentDetailDataSection : Tampilan judul, deskripsi, batas waktu - BoxDetailHistorySection - (user)/voting/[id]/history Fix: Perbaikan component detail data pada: - screens/Voting/BoxDetailSection.tsx - screens/Voting/BoxDetailPublishSection.tsx - screens/Voting/BoxDetailContribution.tsx # No Issue
24 lines
510 B
TypeScript
24 lines
510 B
TypeScript
import {
|
|
BoxWithHeaderSection,
|
|
Spacing,
|
|
StackCustom
|
|
} from "@/components";
|
|
import { Voting_ComponentDetailDataSection } from "./ComponentDetailDataSection";
|
|
|
|
export function Voting_BoxDetailHistorySection({
|
|
headerAvatar,
|
|
}: {
|
|
headerAvatar?: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<>
|
|
<BoxWithHeaderSection>
|
|
{headerAvatar ? headerAvatar : <Spacing />}
|
|
<StackCustom>
|
|
<Voting_ComponentDetailDataSection />
|
|
</StackCustom>
|
|
</BoxWithHeaderSection>
|
|
</>
|
|
);
|
|
}
|