Classes
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 } |
# 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 } |
# static withAllSubscriptions(WrappedComponent) → {React.Component}
Higher order component that waits for the subscriptions.
Parameters:
Name | Type | Description |
---|---|---|
WrappedComponent |
React.Component | the wrapped component. |
The WrappedComponent with subscriptions.
React.Component