From 18cb682c367f156145d2d48a032bb5bc598bb9a0 Mon Sep 17 00:00:00 2001 From: adirzoari Date: Sun, 9 Sep 2018 09:35:31 +0300 Subject: [PATCH] Update index.js --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 863ea96..cfd3fb1 100644 --- a/index.js +++ b/index.js @@ -87,8 +87,8 @@ export default class Header extends Component { outputRange: [-width - headerHeight / 2, -width - headerHeight] }) - const openButtonContent = - const closeButtonContent = + const openButtonContent = this.props.openButtonContentIcon; + const closeButtonContent = this.props.closeButtonContentIcon; const openButton = ( @@ -183,4 +183,4 @@ Header.defaultProps = { defaultCloseButtonIconSize: 30, openButtonPosition: 'left', closeButtonPosition: 'left', -} \ No newline at end of file +}