aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Header.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-07 12:47:16 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit85f38801a34825be69fec27ae523537fbc72f1d6 (patch)
treeb7f68862496a5f556d83ff3356b7122a773dccda /vnext/src/components/Header.js
parent675d8e64c891950189c477d30949ee9b4e160eb8 (diff)
mobile navigation
Diffstat (limited to 'vnext/src/components/Header.js')
-rw-r--r--vnext/src/components/Header.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/vnext/src/components/Header.js b/vnext/src/components/Header.js
index 43b4a676..8bf4bc8d 100644
--- a/vnext/src/components/Header.js
+++ b/vnext/src/components/Header.js
@@ -66,10 +66,11 @@ export default class Header extends React.Component {
this.wScrollBefore = this.wScrollCurrent;
}
render() {
- return (<header id="header" ref={this.header}>{this.props.children}</header>);
+ return (<header id="header" ref={this.header} style={this.props.style}>{this.props.children}</header>);
}
}
Header.propTypes = {
- children: PropTypes.node
+ children: PropTypes.node,
+ style: PropTypes.style
};