mirror of
https://github.com/wassname/talk.git
synced 2026-07-27 11:28:12 +08:00
16 lines
383 B
TypeScript
16 lines
383 B
TypeScript
import React, { FunctionComponent } from "react";
|
|
|
|
import { Typography } from "coral-ui/components";
|
|
|
|
import styles from "./Version.css";
|
|
|
|
const Version: FunctionComponent = () => {
|
|
return (
|
|
<Typography className={styles.version} variant="detail">
|
|
{process.env.TALK_VERSION ? `v${process.env.TALK_VERSION}` : "Unknown"}
|
|
</Typography>
|
|
);
|
|
};
|
|
|
|
export default Version;
|