diff --git a/components/cycle-day/symptoms/bleeding.js b/components/cycle-day/symptoms/bleeding.js index ecfaf20..25e697c 100644 --- a/components/cycle-day/symptoms/bleeding.js +++ b/components/cycle-day/symptoms/bleeding.js @@ -9,7 +9,7 @@ import { saveSymptom } from '../../../db' import { bleeding as labels } from '../labels/labels' import ActionButtonFooter from './action-button-footer' import SelectTabGroup from '../select-tab-group' -import { SymptomSectionHeader, AppText } from '../../app-text' +import SymptomSection from './symptom-section' export default class Bleeding extends Component { constructor(props) { @@ -36,27 +36,28 @@ export default class Bleeding extends Component { return ( - - Heaviness - How heavy is the bleeding? + this.setState({ currentValue: val })} /> - Exclude - - - {"You can exclude this value if it's not menstrual bleeding"} - - { - this.setState({ exclude: val }) - }} - value={this.state.exclude} - /> - - + + + { + this.setState({ exclude: val }) + }} + value={this.state.exclude} + /> + - Opening - {labels.opening.explainer} - this.setState({ opening: val })} - /> - Firmness - {labels.firmness.explainer} - this.setState({ firmness: val })} - /> - Position - {labels.position.explainer} - this.setState({ position: val })} - /> - - Exclude + + this.setState({ opening: val })} + /> + + + this.setState({ firmness: val })} + /> + + + this.setState({ position: val })} + /> + + { this.setState({ exclude: val }) }} value={this.state.exclude} /> - + - {desire.header} - {desire.explainer} - this.setState({ currentValue: val })} - /> + + this.setState({ currentValue: val })} + /> + + {this.props.header} + + + {this.props.explainer} + + {this.props.children} + + + ) + } +} \ No newline at end of file