Turn report screen into a modal (#3965)
This commit is contained in:
parent
16d0aed403
commit
12e7c81dd8
10 changed files with 98 additions and 125 deletions
|
@ -5,6 +5,7 @@ import OnboardingModal from './onboarding_modal';
|
|||
import VideoModal from './video_modal';
|
||||
import BoostModal from './boost_modal';
|
||||
import ConfirmationModal from './confirmation_modal';
|
||||
import ReportModal from './report_modal';
|
||||
import TransitionMotion from 'react-motion/lib/TransitionMotion';
|
||||
import spring from 'react-motion/lib/spring';
|
||||
|
||||
|
@ -14,6 +15,7 @@ const MODAL_COMPONENTS = {
|
|||
'VIDEO': VideoModal,
|
||||
'BOOST': BoostModal,
|
||||
'CONFIRM': ConfirmationModal,
|
||||
'REPORT': ReportModal,
|
||||
};
|
||||
|
||||
export default class ModalRoot extends React.PureComponent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue