From c2e7bf87619f72dd82280d0daa6784e74c540cbb Mon Sep 17 00:00:00 2001 From: mashazyu Date: Fri, 24 Apr 2020 18:05:20 +0200 Subject: [PATCH] Updates SymptomSection component to fix lint rule --- components/cycle-day/symptoms/symptom-section.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/cycle-day/symptoms/symptom-section.js b/components/cycle-day/symptoms/symptom-section.js index e2fe60b..8965190 100644 --- a/components/cycle-day/symptoms/symptom-section.js +++ b/components/cycle-day/symptoms/symptom-section.js @@ -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 { ) } +} + +SymptomSection.propTypes = { + children: PropTypes.node, + explainer: PropTypes.string, + header: PropTypes.string, + inline: PropTypes.bool } \ No newline at end of file