Re-write as full class component

So we can re-use the functions we pass to props
This commit is contained in:
David Baker
2019-01-07 12:09:19 +00:00
parent 522dddbd13
commit 8fbb0607ff
2 changed files with 103 additions and 92 deletions

View File

@@ -47,7 +47,7 @@
"start:init": "babel src -d lib --source-maps --copy-files",
"lint": "eslint src/",
"lintall": "eslint src/ test/",
"lintwithexclusions": "eslint --max-warnings 20 --ignore-path .eslintignore.errorfiles src test",
"lintwithexclusions": "eslint --max-warnings 16 --ignore-path .eslintignore.errorfiles src test",
"clean": "rimraf lib",
"prepublish": "npm run clean && npm run build && git rev-parse HEAD > git-revision.txt",
"test": "karma start --single-run=true --browsers ChromeHeadless",