mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-27 19:29:57 +03:00
34 lines
737 B
JavaScript
34 lines
737 B
JavaScript
|
import * as React from "react";
|
||
|
import * as Strings from "~/common/strings";
|
||
|
import * as Constants from "~/common/constants";
|
||
|
import * as SVG from "~/components/system/svg";
|
||
|
import * as System from "~/components/system";
|
||
|
|
||
|
import { css } from "@emotion/react";
|
||
|
|
||
|
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>
|
||
|
<System.P style={{ fontFamily: "inter-semi-bold" }}>
|
||
|
Add a miner
|
||
|
</System.P>
|
||
|
</React.Fragment>
|
||
|
);
|
||
|
}
|
||
|
}
|