From abaebb4ba582863b847e6bdfa549866e6b3c6891 Mon Sep 17 00:00:00 2001 From: RujitRaval Date: Thu, 12 Dec 2019 17:42:45 -0500 Subject: [PATCH 1/2] Add tooltip for MUSH --- src/BuildingTypeSubType.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/BuildingTypeSubType.js b/src/BuildingTypeSubType.js index 760c888a9..420a9992d 100644 --- a/src/BuildingTypeSubType.js +++ b/src/BuildingTypeSubType.js @@ -1,5 +1,5 @@ import React from "react"; -import { Row, Col, Button, Input } from 'reactstrap'; +import { Row, Col, Button, Input, UncontrolledTooltip } from 'reactstrap'; import './index.css'; export default class BuildingTypeSubType extends React.Component { @@ -10,6 +10,11 @@ export default class BuildingTypeSubType extends React.Component { buildingSubTypeAnswer: this.props.buildingSubTypeAnswer, }; this.names = ['Residential', 'Mixed-Use', 'Commercial', 'Industrial', 'MUSH']; + this.buildingTypeDescription = ['', + '', + '', + '', + 'Includes municipal & state governments, universities & colleges, K-12 schools, and hospitals.'] this.subTypeNames = { '34': [ 'Detached One or Two-Family Dwellings', 'Attached One or Two-Family Dwellings', @@ -109,7 +114,7 @@ export default class BuildingTypeSubType extends React.Component { { this.props.answerIdsBuildingType.map((answerId, id) => { return ( - ); -- GitLab From 94cd1165e320b6771094909fbd7628ddd7efc846 Mon Sep 17 00:00:00 2001 From: RujitRaval Date: Fri, 13 Dec 2019 10:03:48 -0500 Subject: [PATCH 2/2] Remove UncontrolledTooltip import --- src/BuildingTypeSubType.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BuildingTypeSubType.js b/src/BuildingTypeSubType.js index 420a9992d..fb6d96a32 100644 --- a/src/BuildingTypeSubType.js +++ b/src/BuildingTypeSubType.js @@ -1,5 +1,5 @@ import React from "react"; -import { Row, Col, Button, Input, UncontrolledTooltip } from 'reactstrap'; +import { Row, Col, Button, Input } from 'reactstrap'; import './index.css'; export default class BuildingTypeSubType extends React.Component { -- GitLab