import React from "react"; import Modal from "@material-ui/core/Modal"; import "./index.scss"; interface TransferProps { handleClose: (e: React.MouseEvent) => void; isOpen: boolean; } interface TransferState {} export default class Transfer extends React.Component< TransferProps, TransferState > { constructor(props: TransferProps) { super(props); this.handleClose = this.handleClose.bind(this); } handleClose(e: React.MouseEvent) { this.props.handleClose(e); } render() { return (
Oddam
PrzyjmÄ™
); } }