-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
357cff3
commit 882eb4c
Showing
4 changed files
with
169 additions
and
81 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
src/components/pages/TransfersOfCare/transfers-of-care-components/TransfersOfCarePopover.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import React, { PureComponent } from 'react'; | ||
import PropTypes from "prop-types"; | ||
import classNames from 'classnames'; | ||
|
||
import { valuesNames, valuesLabels, typesOptions } from '../forms.config'; | ||
import { connect } from "react-redux"; | ||
import Spinner from '../../../ui-elements/Spinner/Spinner'; | ||
|
||
import { bindActionCreators } from "redux"; | ||
import {fetchPatientReferralsRequest} from "../../Referrals/ducks/fetch-patient-referrals.duck"; | ||
|
||
import {patientDiagnosesSelector} from "../../ProblemsDiagnosis/selectors"; | ||
|
||
import _ from "lodash/fp"; | ||
import {getDDMMMYYYY} from "../../../../utils/time-helpers.utils"; | ||
|
||
// const mapDispatchToProps = dispatch => ({ | ||
// actions: bindActionCreators({ | ||
// fetchPatientReferralsRequest, | ||
// }, dispatch) }); | ||
// | ||
// @connect(patientDiagnosesSelector, mapDispatchToProps) | ||
export default class TransfersOfCarePopover extends PureComponent { | ||
static propTypes = { | ||
record: PropTypes.object, | ||
}; | ||
|
||
state = {}; | ||
|
||
componentWillReceiveProps(nextProps) { | ||
|
||
} | ||
|
||
render() { | ||
// const { isSubmit, input: { value } } = this.props; | ||
// const { } = this.state; | ||
// console.log(typesRecords); | ||
// console.log('records', records); | ||
const title = 'It\'s me - Popover!'; | ||
|
||
return ( | ||
<div className="record-popover" style={{display: 'block'}}> | ||
<div className="record-popover-header"> | ||
<div className="record-popover-title">{title}</div> | ||
</div> | ||
|
||
<div className="record-popover-body"> | ||
<div className="record-popover-content"> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters