import {Modal} from 'reactjs-components';
import React from 'react';

import Util from '../../utils/Util';

class FullScreenModal extends React.Component {
  render() {
    let {props} = this;

    return (
      <Modal geminiClass="gm-scrollbar-container-flex"
        modalHeight="100%"
        modalClass="modal modal-full-screen"
        showHeader={true}
        showFooter={false}
        transitionNameModal="modal-full-screen"
        {...Util.omit(props, Object.keys(FullScreenModal.propTypes))}>
        {props.children}
      </Modal>
    );
  }
}

FullScreenModal.propTypes = {
  children: React.PropTypes.node
};

module.exports = FullScreenModal;

@@ -1,12 +1,49 @@
+import classNames from 'classnames';%0A
 import %7BModa
@@ -203,18 +203,20 @@
 ) %7B%0A    
-le
+cons
 t %7Bprops
@@ -229,103 +229,263 @@
 is;%0A
-%0A
     
-return (%0A      %3CModal geminiClass=%22gm-scrollbar-container-flex%22%0A        modalHeight=%22100%25%22
+const geminiClasses = classNames(%7B%0A      'gm-scrollbar-container-flex': props.useGemini !== false%0A    %7D);%0A%0A    let modalHeight = null;%0A%0A    if (props.useGemini) %7B%0A      modalHeight = '100%25';%0A    %7D%0A%0A    return (%0A      %3CModal geminiClass=%7BgeminiClasses%7D
 %0A   
@@ -518,32 +518,66 @@
 al-full-screen%22%0A
+        modalHeight=%7BmodalHeight%7D%0A
         showHead
@@ -694,46 +694,20 @@
 ps, 
-Object.keys(FullScreenModal.propTypes)
+%5B'children'%5D
 )%7D%3E%0A
@@ -760,16 +760,71 @@
 %0A  %7D%0A%7D%0A%0A
+FullScreenModal.defaultProps = %7B%0A  useGemini: true%0A%7D;%0A%0A
 FullScre
@@ -877,16 +877,51 @@
 pes.node
+,%0A  useGemini: React.PropTypes.bool
 %0A%7D;%0A%0Amod

Allow disabling Gemini in FullScreenModal