diff --git a/source/components/GenericSimulation.css b/source/components/GenericSimulation.css new file mode 100644 index 000000000..faa4af4a5 --- /dev/null +++ b/source/components/GenericSimulation.css @@ -0,0 +1,10 @@ +#GenericSimulation { +} +#GenericSimulation > button { + padding: 0.6em 1em; + text-align: center; + margin: 1em auto; + display: block; + border-radius: 6px; + font-weight: 500; +} diff --git a/source/components/GenericSimulation.js b/source/components/GenericSimulation.js index 523590e72..1bad1cda6 100644 --- a/source/components/GenericSimulation.js +++ b/source/components/GenericSimulation.js @@ -1,20 +1,32 @@ import React from 'react' +import { connect } from 'react-redux' +import { isEmpty } from 'ramda' import Answers from 'Components/AnswerList' import Conversation from 'Components/conversation/Conversation' import withColours from 'Components/utils/withColours' import Targets from 'Components/Targets' +import './GenericSimulation.css' @withColours +@connect(state => ({ + previousAnswers: state.conversationSteps.foldedSteps +})) export default class YO extends React.Component { state = { displayAnswers: false } render() { + let colours = this.props.colours return ( -