mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 12:43:24 +00:00
21 lines
429 B
TypeScript
21 lines
429 B
TypeScript
import { useVersion } from '~hooks/useVersion';
|
|
import './BottomLabel.css';
|
|
|
|
export function BottomLabel() {
|
|
const version = useVersion({ prefixed: true });
|
|
|
|
return (
|
|
<h3 className="bottom-label">
|
|
{version}
|
|
<div className="dot" />
|
|
movie-web
|
|
</h3>
|
|
);
|
|
}
|
|
|
|
export function TopRightLabel() {
|
|
const version = useVersion({ prefixed: true });
|
|
|
|
return <h3 className="top-right-label">{version}</h3>;
|
|
}
|