TabbedCard component (#464)

* Initial typing for infocard component

* Changes as suggested in PR and rewrite of BottomLink to TypeScript

* Removed classes property from card because material-ui did not like classes.header being set

* Prettier

* Early TabbedCard component. WIP

* Refactored TabbedCard to be easier to use

* Fixed some typing issues and tests

* Fixed lint issues and changed lint rule. Do we want to keep it?

* Added controlled mode when value and onChange is set on TabbedCard

* Fixed typo

* Added a test and fixed the design to look like the mockups more

* Removed export of BottomLink from TabbedCard

* Added test for controlled state
This commit is contained in:
Sebastian Qvarfordt
2020-04-15 10:31:40 +02:00
committed by GitHub
parent fadffc6589
commit 2c251e94e0
10 changed files with 353 additions and 7 deletions
+4
View File
@@ -51,6 +51,10 @@ module.exports = {
bundledDependencies: true,
},
],
'@typescript-eslint/no-unused-vars': [
'warn',
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true },
],
},
overrides: [
{