diff options
author | muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com> | 2022-11-20 17:35:21 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-20 17:35:21 +0530 |
commit | 86f9ab693dcad951271f727046214b03d91ebd69 (patch) | |
tree | 3d32ff4814b5484495b811c5fe0ebea4805f4e55 /src/components/ui/StatusBarTargetUrl.js | |
parent | 6.2.1-nightly.47 [skip ci] (diff) | |
download | ferdium-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.js | 36 |
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 @@ | |||
1 | import { Component } from 'react'; | ||
2 | import PropTypes from 'prop-types'; | ||
3 | import { observer } from 'mobx-react'; | ||
4 | import classnames from 'classnames'; | ||
5 | |||
6 | import Appear from './effects/Appear'; | ||
7 | |||
8 | // Should this file be converted into the coding style similar to './toggle/index.tsx'? | ||
9 | class 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 | |||
36 | export default observer(StatusBarTargetUrl); | ||