22 lines
522 B
TypeScript
22 lines
522 B
TypeScript
"use client";
|
|
|
|
/**
|
|
* Figma: "Section / History" (24220:30635)
|
|
*/
|
|
|
|
import { memo } from "react";
|
|
import { useMessages } from "../../../contexts/MessagesContext";
|
|
import HistoryView from "./History.view";
|
|
import type { HistoryItem } from "./History.types";
|
|
|
|
const HistoryContainer = memo(() => {
|
|
const copy = useMessages().pages.about.history;
|
|
return (
|
|
<HistoryView heading={copy.heading} items={copy.items as HistoryItem[]} />
|
|
);
|
|
});
|
|
|
|
HistoryContainer.displayName = "History";
|
|
|
|
export default HistoryContainer;
|