Skip to content

Commit

Permalink
Fix questionPanelHeaderText and questionPanelText classes not being p…
Browse files Browse the repository at this point in the history
…assed properly. fixes #16 closes #16
  • Loading branch information
andrewhathaway committed Sep 5, 2015
1 parent cea17c1 commit 7e792cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/questionPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@ class QuestionPanel extends React.Component {
<div className={this.props.classes.questionPanelHeaderContainer}>
{typeof this.props.panelHeader
? (
<h3 className={this.props.questionPanelHeaderText}>
<h3 className={this.props.classes.questionPanelHeaderText}>
{this.props.panelHeader}
</h3>
)
: undefined}
{typeof this.props.panelText
? (
<p className={this.props.questionPanelText}>
<p className={this.props.classes.questionPanelText}>
{this.props.panelText}
</p>
)
Expand Down

0 comments on commit 7e792cd

Please sign in to comment.