summaryrefslogtreecommitdiff
path: root/src/components/simulations/NewSimulationButtonComponent.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-10-04 22:49:07 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-10-04 22:49:25 +0200
commit751a9ef3a12c952fe179f256d854d0c4aa37e28e (patch)
tree241fc22c592a277526e73cc70ea0f95d5a8a7b29 /src/components/simulations/NewSimulationButtonComponent.js
parent9257d89ec2e22b65ffecc7dc7cf67b7a74c34d60 (diff)
Apply prettier to codebase
Diffstat (limited to 'src/components/simulations/NewSimulationButtonComponent.js')
-rw-r--r--src/components/simulations/NewSimulationButtonComponent.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/components/simulations/NewSimulationButtonComponent.js b/src/components/simulations/NewSimulationButtonComponent.js
index 74036c1b..7e12d30f 100644
--- a/src/components/simulations/NewSimulationButtonComponent.js
+++ b/src/components/simulations/NewSimulationButtonComponent.js
@@ -1,17 +1,17 @@
-import PropTypes from 'prop-types';
-import React from 'react';
+import PropTypes from "prop-types";
+import React from "react";
-const NewSimulationButtonComponent = ({onClick}) => (
- <div className="bottom-btn-container">
- <div className="btn btn-primary float-right" onClick={onClick}>
- <span className="fa fa-plus mr-2"/>
- New Simulation
- </div>
+const NewSimulationButtonComponent = ({ onClick }) => (
+ <div className="bottom-btn-container">
+ <div className="btn btn-primary float-right" onClick={onClick}>
+ <span className="fa fa-plus mr-2" />
+ New Simulation
</div>
+ </div>
);
NewSimulationButtonComponent.propTypes = {
- onClick: PropTypes.func.isRequired,
+ onClick: PropTypes.func.isRequired
};
export default NewSimulationButtonComponent;