File size: 287 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 9 10 11 12 | import 'calypso/state/ui/init';
/**
* Returns the current media modal view.
* @see ./constants.js (MediaView)
* @param {Object} state Global state tree
* @returns {any} Current media view
*/
export function getMediaModalView( state ) {
return state.ui.mediaModal.view;
}
|