mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-18 10:20:02 +00:00
19 lines
492 B
TypeScript
19 lines
492 B
TypeScript
import { memo } from "react";
|
|
import { useTranslation } from "react-i18next";
|
|
import { Typography } from "antd";
|
|
|
|
const EndNode = () => {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<div className="flex flex-col items-center">
|
|
<div className="size-[20px] rounded-full bg-stone-400"></div>
|
|
<div className="mt-2 text-sm">
|
|
<Typography.Text type="secondary">{t("workflow_node.end.label")}</Typography.Text>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default memo(EndNode);
|