import type { TimelineBlockValue } from "@/types/wagtail"; export default function Timeline({ value }: { value: TimelineBlockValue }) { return (
{value.heading && (

{value.heading}

)}
    {value.items?.map((item, index) => (
  1. {item.year}

    {item.event}

  2. ))}
); }