Add component

This commit is contained in:
2025-09-17 12:17:14 +07:00
parent b25aaf124c
commit 4a3ae20b84
19 changed files with 2074 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import { theme } from "antd";
import React from "react";
import packageJson from "../../../package.json";
const Version = () => {
const {
token: { colorPrimary },
} = theme.useToken();
return (
<div
data-testid="versionContainer"
className="cursor-default fixed top-1 right-1 z-20 m-1"
style={{ color: colorPrimary }}
>
v{packageJson.version}
</div>
);
};
export default Version;