Header
Header @class Header @extends {React.Component}
Best practices
- Full width
- Set height
Properties
Basic usage
Props:
Prop Name | Type | Is Required | Default Value | Description |
---|---|---|---|---|
active | bool | optional | true | Is the mobile menu active? |
siteTitle | string | optional | 'Your site name' | The website title (from gatsby-config.js) |
toggleSidebar | func | optional | false | Changes active state of sidebar |