mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-24 09:58:21 +03:00
17 lines
338 B
JavaScript
17 lines
338 B
JavaScript
|
import React from 'react';
|
||
|
import { serverType } from '../servers/prop-types';
|
||
|
|
||
|
const propTypes = {
|
||
|
selectedServer: serverType,
|
||
|
};
|
||
|
|
||
|
const ShlinkVersions = ({ selectedServer }) => {
|
||
|
const { version } = selectedServer;
|
||
|
|
||
|
return <span>Server: v{version}</span>;
|
||
|
};
|
||
|
|
||
|
ShlinkVersions.propTypes = propTypes;
|
||
|
|
||
|
export default ShlinkVersions;
|