1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30:06 +02:00

Add AddMetric component and redux-form-proxy

This commit is contained in:
JUDIT GRESKOVITS 2017-01-09 18:11:01 +00:00
parent 3e33f4bf6d
commit 3ab2221ca3
2 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,8 @@
"react-dom": "^15.4.1",
"react-select": "^1.0.0-rc.2",
"reduce-css-calc": "^1.3.0",
"styled-components": "^1.2.1"
"styled-components": "^1.2.1",
"transform-props-with": "^2.1.0"
},
"devDependencies": {
"@kadira/storybook": "^2.35.2",
@ -51,6 +52,7 @@
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-react": "^6.8.0",
"eslint-plugin-standard": "^2.0.1",
"jsdom": "^9.9.1",
"memory-fs": "^0.4.1",
"nyc": "^10.0.0",
"pre-commit": "^1.2.2",

View File

@ -73,9 +73,9 @@ const AddMetric = ({
};
AddMetric.propTypes = {
addLabel: React.PropTypes.string.isRequired,
added: React.PropTypes.bool.isRequired,
addedLabel: React.PropTypes.string.isRequired,
addLabel: React.PropTypes.string.isRequired,
description: React.PropTypes.string.isRequired,
link: React.PropTypes.string.isRequired,
linkLabel: React.PropTypes.string.isRequired,