Constructor
new NotFound()
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
this.props.path |
string | FlowRouter path to use on href button |
||
this.props.message |
string |
<optional> |
'Not found' | Message to render on screen |
this.props.icon |
string |
<optional> |
'mood_bad' | Material ui icon name |
- Source:
Example
import { Layout } from 'meteor/duckdodgerbrasl:lern-layouts';
...
<Layout.NotFound path='AdminHome' message='Not found' icon='stop' />
// or
import { NotFound } from 'meteor/duckdodgerbrasl:lern-layouts';
...
<NotFound path='AdminHome' message='Not found' icon='stop' />