The image provided will automatically be resized and colorized for readability
children
Node
Children will display below the banner text
flipText
bool
Flip the order of the subtitle/title
inverse
bool
true
Use white text for a dark image overlay
large
bool
A taller banner
subtitle
String
title
String
✅
topNavComponent
Node
small
bool
A shorter banner
removeChildContainer
bool
Removes Col wrapping children if true
noBanner
bool
false
This will remove background image and show the top navigation in insolation
Usage
// TODO fill this inimportPageBannerfrom'@berlitz/page-banner'importTopNavfrom'@berlitz/top-nav'constMyApp=()=>(<PageBannertitle="Cool Page"subtitle="Some information about this page"backgroundImageSrc="http://www.coolimageurl.com/coolimage.jpg"topNavComponent={<TopNav{...topNavProps}>}/>)