summaryrefslogtreecommitdiffstats
path: root/src/components/ui/StatusBarTargetUrl.js
diff options
context:
space:
mode:
authorLibravatar muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>2022-11-20 17:35:21 +0530
committerLibravatar GitHub <noreply@github.com>2022-11-20 17:35:21 +0530
commit86f9ab693dcad951271f727046214b03d91ebd69 (patch)
tree3d32ff4814b5484495b811c5fe0ebea4805f4e55 /src/components/ui/StatusBarTargetUrl.js
parent6.2.1-nightly.47 [skip ci] (diff)
downloadferdium-app-86f9ab693dcad951271f727046214b03d91ebd69.tar.gz
ferdium-app-86f9ab693dcad951271f727046214b03d91ebd69.tar.zst
ferdium-app-86f9ab693dcad951271f727046214b03d91ebd69.zip
Transform Todo feature, ServiceBarTargetUrl, ServiceIcon, TeamDashboard, Slider, Loader & WorkspaceSwitchningIndicator into ts (#782)
Diffstat (limited to 'src/components/ui/StatusBarTargetUrl.js')
-rw-r--r--src/components/ui/StatusBarTargetUrl.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/components/ui/StatusBarTargetUrl.js b/src/components/ui/StatusBarTargetUrl.js
deleted file mode 100644
index 3e0c98c5d..000000000
--- a/src/components/ui/StatusBarTargetUrl.js
+++ /dev/null
@@ -1,36 +0,0 @@
1import { Component } from 'react';
2import PropTypes from 'prop-types';
3import { observer } from 'mobx-react';
4import classnames from 'classnames';
5
6import Appear from './effects/Appear';
7
8// Should this file be converted into the coding style similar to './toggle/index.tsx'?
9class StatusBarTargetUrl extends Component {
10 static propTypes = {
11 className: PropTypes.string,
12 text: PropTypes.string,
13 };
14
15 static defaultProps = {
16 className: '',
17 text: '',
18 };
19
20 render() {
21 const { className, text } = this.props;
22
23 return (
24 <Appear
25 className={classnames({
26 'status-bar-target-url': true,
27 [`${className}`]: true,
28 })}
29 >
30 <div className="status-bar-target-url__content">{text}</div>
31 </Appear>
32 );
33 }
34}
35
36export default observer(StatusBarTargetUrl);