Namespace

ui/layouts

ui/layouts

Classes

App

Methods

# static AdminProtectedRoute({)

AdminProtectedRoute (see React Router v4 sample) Checks for Meteor login and admin role before routing to the requested page, otherwise goes to signin page.

Parameters:
Name Type Description
{ any

component: Component, ...rest }

View Source ui/layouts/App.jsx, line 74

# static ProtectedRoute({)

ProtectedRoute (see React Router v4 sample) Checks for Meteor login before routing to the requested page, otherwise goes to signin page.

Parameters:
Name Type Description
{ any

component: Component, ...rest }

View Source ui/layouts/App.jsx, line 52

# static withAllSubscriptions(WrappedComponent) → {React.Component}

Higher order component that waits for the subscriptions.

Parameters:
Name Type Description
WrappedComponent React.Component

the wrapped component.

View Source ui/layouts/AllSubscriptionsHOC.jsx, line 34

The WrappedComponent with subscriptions.

React.Component