Updates SymptomSection component to fix lint rule

This commit is contained in:
mashazyu
2020-04-24 18:05:20 +02:00
committed by Sofiya Tepikin
parent 579c4af869
commit c2e7bf8761
@@ -1,5 +1,7 @@
import React, { Component } from 'react'
import { View } from 'react-native'
import PropTypes from 'prop-types'
import AppText from '../../common/app-text'
import styles from '../../../styles'
@@ -33,4 +35,11 @@ export default class SymptomSection extends Component {
</View>
)
}
}
SymptomSection.propTypes = {
children: PropTypes.node,
explainer: PropTypes.string,
header: PropTypes.string,
inline: PropTypes.bool
}