Add explainer to note
This commit is contained in:
@@ -8,6 +8,8 @@ import {
|
||||
import styles from '../../../styles'
|
||||
import { saveSymptom } from '../../../db'
|
||||
import ActionButtonFooter from './action-button-footer'
|
||||
import SymptomSection from './symptom-section'
|
||||
import { noteExplainer } from '../labels/labels'
|
||||
|
||||
export default class Note extends Component {
|
||||
constructor(props) {
|
||||
@@ -25,7 +27,9 @@ export default class Note extends Component {
|
||||
return (
|
||||
<View style={{ flex: 1 }}>
|
||||
<ScrollView style={styles.page}>
|
||||
<View style={styles.symptomViewRow}>
|
||||
<SymptomSection
|
||||
explainer={noteExplainer}
|
||||
>
|
||||
<TextInput
|
||||
autoFocus={!this.state.currentValue}
|
||||
multiline={true}
|
||||
@@ -35,7 +39,7 @@ export default class Note extends Component {
|
||||
}}
|
||||
value={this.state.currentValue}
|
||||
/>
|
||||
</View>
|
||||
</SymptomSection>
|
||||
</ScrollView>
|
||||
<ActionButtonFooter
|
||||
symptom='note'
|
||||
|
||||
Reference in New Issue
Block a user