import * as React from "react"; import * as Constants from "~/common/constants"; import { Input } from "~/components/system/components/Input"; import { ButtonPrimary } from "~/components/system/components/Buttons"; import { css } from "@emotion/react"; const STYLES_CONTAINER = css` font-family: ${Constants.font.text}; box-sizing: border-box; padding: 24px; border-radius: 4px; background-color: ${Constants.system.white}; border: 1px solid ${Constants.system.border}; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); max-width: 320px; width: 100%; `; export class SendAddressFilecoin extends React.Component { static defaultProps = { onSubmit: () => {}, }; state = { source: "", target: "", amount: "", }; _handleChange = (e) => { this.setState({ [e.target.name]: e.target.value }); }; _handleSubmit = () => { this.props.onSubmit({ ...this.state, }); }; render() { return (