Class: Bar

LernLayouts.Bar()

new Bar()

React Component for top bar

Parameters:
Name Type Attributes Description
this.props.crumbs object <optional>

paths to compose links for crumbs

this.props.label string <optional>

label of path

this.props.path string <optional>

FlowRouter path

this.props.title string

current view title

this.props.disableActions bool <optional>

prevent actions to exit from view

Source:
Example
import { Layout } from 'meteor/duckdodgerbrasl:lern-layouts';
...
<Layout.Bar title='Tags' crumbs={[{ path: 'AdminHome', label: 'Home' }]} />
// or
import { Bar } from 'meteor/duckdodgerbrasl:lern-layouts';
...
<Bar title='Tags' crumbs={[{ path: 'AdminHome', label: 'Home' }]} />