import { Component } from 'react'; import PropTypes from 'prop-types'; import { observer } from 'mobx-react'; import classnames from 'classnames'; import Appear from './effects/Appear'; // Should this file be converted into the coding style similar to './toggle/index.tsx'? class StatusBarTargetUrl extends Component { static propTypes = { className: PropTypes.string, text: PropTypes.string, }; static defaultProps = { className: '', text: '', }; render() { const { className, text } = this.props; return (
{text}
); } } export default observer(StatusBarTargetUrl);