Module: previewBehaviour

(require("previewBehaviour"))(user, actions) → {ext.popups.PreviewBehavior}

Creates an instance of ext.popups.PreviewBehavior.

If the user is logged out, then clicking the cog should show the settings modal.

If the user is logged in, then clicking the cog should send them to the the "Appearance" tab otherwise.

Parameters:
Name Type Description
user mw.User
actions Object

The action creators bound to the Redux store

Source:
Returns:
Type
ext.popups.PreviewBehavior