Skip to content

Commit

Permalink
add resource, lookup, and target stubs that we will eventually remove
Browse files Browse the repository at this point in the history
  • Loading branch information
SaravShah committed Nov 20, 2018
1 parent 8008991 commit dcfc2af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -68,7 +68,7 @@
"dev-build": "webpack --progress --mode development",
"dev-build-test": "npm run dev-build && npm run test",
"dev-start": "webpack-dev-server --config ./webpack.config.js --mode development",
"eslint": "eslint --max-warnings 60 --color -c .eslintrc.js --ext js,jsx ./src",
"eslint": "eslint --max-warnings 65 --color -c .eslintrc.js --ext js,jsx ./src",
"jest-cov": "jest --coverage --colors",
"jest-ci": "jest --ci --runInBand --coverage --reporters=default --reporters=jest-junit --colors && cat ./coverage/lcov.info | coveralls",
"test": "jest --colors"
Expand Down
9 changes: 9 additions & 0 deletions src/components/editor/FormWrapper.jsx
Expand Up @@ -22,6 +22,15 @@ class FormWrapper extends Component{
<InputLiteral propertyTemplate = {pt} key = {index} />
)
}
else if (pt.type == 'resource'){
return (<p> {pt.propertyLabel}: I am a resource type </p>)
}
else if (pt.type == 'lookup'){
return (<p> {pt.propertyLabel}: I am a lookup type! </p>)
}
else if (pt.type == 'target') {
return (<p> {pt.propertyLabel}: I am a target type! </p>)
}
})}
</div>
<p>END FormWrapper</p>
Expand Down

0 comments on commit dcfc2af

Please sign in to comment.