2020-04-09 00:29:13 +03:00
|
|
|
import * as React from "react";
|
|
|
|
import * as Constants from "~/common/constants";
|
|
|
|
import * as System from "~/components/system";
|
|
|
|
|
|
|
|
export default class SidebarAddMiner extends React.Component {
|
|
|
|
state = {};
|
|
|
|
|
|
|
|
_handleSubmit = () => {
|
|
|
|
this.props.onSubmit({});
|
|
|
|
};
|
|
|
|
|
|
|
|
_handleCancel = () => {
|
|
|
|
this.props.onCancel();
|
|
|
|
};
|
|
|
|
|
|
|
|
_handleChange = (e) => {
|
|
|
|
this.setState({ [e.target.name]: e.target.value });
|
|
|
|
};
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<React.Fragment>
|
2021-07-07 23:50:57 +03:00
|
|
|
<System.P1
|
2020-09-08 02:28:50 +03:00
|
|
|
style={{
|
|
|
|
fontFamily: Constants.font.semiBold,
|
|
|
|
fontSize: Constants.typescale.lvl3,
|
|
|
|
}}
|
|
|
|
>
|
2020-04-09 00:29:13 +03:00
|
|
|
Add a miner
|
2021-07-07 23:50:57 +03:00
|
|
|
</System.P1>
|
2020-04-09 00:29:13 +03:00
|
|
|
</React.Fragment>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|