0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 22:32:41 +00:00

Add renderer to pageInfo

This commit is contained in:
Gazook89
2022-09-21 11:37:14 -05:00
parent 8ebfc772f3
commit 90a65d0a57
2 changed files with 13 additions and 2 deletions

View File

@@ -109,7 +109,12 @@ const BrewRenderer = createClass({
renderPageInfo : function(){
return <div className='pageInfo' ref='main'>
{this.state.viewablePageNumber + 1} / {this.state.pages.length}
<div>
{this.props.renderer}
</div>
<div>
{this.state.viewablePageNumber + 1} / {this.state.pages.length}
</div>
</div>;
},