import React, { Component } from 'react' import { connect } from 'react-redux' import { animated, Spring } from 'react-spring' import { blockingInputControlsSelector, noUserInputSelector } from 'Selectors/analyseSelectors' import Conversation from './conversation/Conversation' import * as Animate from './inFranceApp/animate' import Distribution from './ResultView/Distribution' import './Simu.css' import TargetSelection from './TargetSelection' import withColours from './withColours' @withColours @connect( state => ({ noUserInput: noUserInputSelector(state), blockingInputControls: blockingInputControlsSelector(state), conversationStarted: state.conversationStarted }), { onSimulationContinued: () => ({ type: 'START_CONVERSATION' }) } ) export default class Simu extends Component { render() { let { colours, conversationStarted, noUserInput, onSimulationContinued, blockingInputControls } = this.props const displayConversation = conversationStarted && !blockingInputControls const displayResults = !noUserInput && !blockingInputControls && !conversationStarted return ( <>
{styles => ( )}
{displayConversation && ( <> )}
{displayResults && (
)} {conversationStarted && (
)}
{displayResults && (

What's included in my contributions?

Estimate my real costs

This is a rough estimate based on a pre-made generic contract. French legislation provides for a multitude of special cases, and specific rules that can considerably change hiring costs.

)} ) } }