Camera
; + } +} diff --git a/imports/app/components/GrowFile.jsx b/imports/app/components/GrowFile.jsx index 04e6f89..205ddce 100644 --- a/imports/app/components/GrowFile.jsx +++ b/imports/app/components/GrowFile.jsx @@ -1,12 +1,11 @@ -// TODO: make a component for a grow-file. import React, { Component } from 'react'; import { Meteor } from 'meteor/meteor'; import { createContainer } from 'meteor/react-meteor-data'; import moment from 'moment'; import PropTypes from 'prop-types'; -// import Badge from 'material-ui/Badge'; +import Badge from 'material-ui/Badge'; import IconButton from 'material-ui/IconButton'; -// import NotificationsIcon from 'material-ui/svg-icons/social/notifications'; +import NotificationsIcon from 'material-ui/svg-icons/social/notifications'; import Subheader from 'material-ui/Subheader'; import IconMenu from 'material-ui/IconMenu'; import MenuItem from 'material-ui/MenuItem'; @@ -17,8 +16,6 @@ import StopIcon from 'material-ui/svg-icons/av/stop'; import SkipIcon from 'material-ui/svg-icons/av/skip-next'; import PreviousIcon from 'material-ui/svg-icons/av/skip-previous'; -// import WarningIcon from 'material-ui/svg-icons/alert/warning'; - export default class GrowFile extends Component { constructor(props) { super(props); @@ -64,9 +61,8 @@ export default class GrowFile extends Component { floatingLabelText="Growfile" id="Growfile" ref="Growfile" - // defaultValue={JSON.stringify(this.props.thing.properties.growfile, null, 2)} + defaultValue={JSON.stringify(this.props.growfile, null, 2)} multiLine={true} - // style={styles.oneHundred} rows={10} />