import { observer } from 'mobx-react'; import React from 'react'; import { Button, Col, ControlLabel, Form, FormControl, InputGroup, Modal } from 'react-bootstrap'; import { IPathwayInfo } from '../managers/FileOperationsManager'; import { EModalType } from '../ui/react-pathway-mapper'; import PathwayActions from '../utils/PathwayActions'; interface IPathwayDetailsModalProps{ show: boolean; handleClose: Function; pathwayActions: PathwayActions; } @observer export default class PathwayDetailsModal extends React.Component{ pathwayInfo: IPathwayInfo; constructor(props: IPathwayDetailsModalProps){ super(props); } render(){ this.pathwayInfo = this.props.pathwayActions.getPathwayInfo; return( {this.props.handleClose(4)}}> Pathway Properties
Pathway Title: {this.pathwayInfo.pathwayTitle = e.target.value;}}value={this.pathwayInfo.pathwayTitle}/> Pathway Description:
) } }