"use client"; import { memo } from "react"; import Button from "../../buttons/Button"; import type { NarrativeBlockViewProps } from "./NarrativeBlock.types"; function NarrativeBlockView({ heading, paragraphs, addHeading, addLine, shareExperiences, helpBuild, helpBuildHref, onShareExperiences, }: NarrativeBlockViewProps) { return (

{heading}

{paragraphs.map((paragraph) => (

{paragraph}

))}

{addHeading}

{addLine}

); } NarrativeBlockView.displayName = "NarrativeBlockView"; export default memo(NarrativeBlockView);