Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, {Component} from 'react';
  2.  
  3. import BackLink from '../common/BackLink';
  4. import BaseComponent from "../common/BaseComponent";
  5. import RelocationThreeOne from "./RelocationThreeOne";
  6.  
  7. class RelocationTwoTwo extends BaseComponent {
  8.     constructor(props) {
  9.         super(props);
  10.  
  11.         this.state = {
  12.             child: false
  13.         }
  14.     }
  15.  
  16.     render() {
  17.         return (
  18.             !this.state.child ?
  19.             <div className="calculator-cont" id="relocation-2-2">
  20.                 <div className="calculator-cont-item cont-center">
  21.                     <h3>Размер перевозимого офиса</h3>
  22.                     <div className="inp-txt-calculator-cont">
  23.                         <span>У нас в офисе</span>
  24.                         <input type="text" placeholder="10"/>
  25.                             <span>рабочих мест</span>
  26.                     </div>
  27.                     <div className="text-center btn-cont">
  28.                         <button data-choose={231} onClick={this.handleClick} className="btn" type="button">Выбрать размер офиса</button>
  29.                     </div>
  30.                     <BackLink handleClickBack={this.handleClickBack.bind(this)} parentNumber={this.props.parent} />
  31.                 </div>
  32.             </div>
  33.  
  34.             : <RelocationThreeOne/>
  35.         );
  36.     }
  37. }
  38.  
  39. export default RelocationTwoTwo;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement