You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
542 B
25 lines
542 B
import React, { Component } from 'react';
|
|
import '../VNC.css'
|
|
const $ = window.$;
|
|
class FloatButton extends Component {
|
|
componentDidMount() {
|
|
|
|
|
|
}
|
|
|
|
render() {
|
|
const { challenge, vnc_url, children, className } = this.props
|
|
|
|
return (
|
|
<div className={`float_button ${className}` } onClick={this.props.onClick}>
|
|
<style>{`
|
|
|
|
`}</style>
|
|
<span class="text">{children || '版本库'}</span>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default FloatButton;
|