header-component-example
v1.0.5
Published
### HeaderComponent
Downloads
2
Readme
Production
HeaderComponent
- A Header for templates.
Props
- logo:
- Logo shown in header
// props
logo: PropTypes.shape({}).isRequired,
- text
- Title shown in header
// props
text: PropTypes.string,
// default props
text: '',
- style
- Css customization
// props
style: PropTypes.shape({
color: PropTypes.string,
backgroundColor: PropTypes.string,
height: PropTypes.string,
}),
// default props
style: {
color: 'black',
backgroundColor: 'white',
height: '50px',
},