Skip to content

Commit a8981e1

Browse files
committed
Fix #32: Display help text under 'Select File' button
1 parent a14745e commit a8981e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/uploader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export default class FileUploader extends React.Component {
8787
<Button onClick={this.openModal} className="upload-modal__open">
8888
{this.props.value ? 'Change file' : 'Select file'}
8989
</Button>
90+
{this.props.help_text && <span className="rjf-help-text">{this.props.help_text}</span>}
9091
</div>
9192

9293
<ReactModal

0 commit comments

Comments
 (0)