diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-07 08:03:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 08:03:45 +0200 |
commit | 31f8ada876b3aec45ffffcf82079eaacb69349fc (patch) | |
tree | 9f5752b7bbc42c9b5b3c2b02517732b3a2e5b868 /packages/ui/src/badge | |
parent | chore: simplify babel configuration (#2029) (diff) | |
download | ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.tar.gz ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.tar.zst ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.zip |
chore: upgrade react to latest (#2030)
Diffstat (limited to 'packages/ui/src/badge')
-rw-r--r-- | packages/ui/src/badge/ProBadge.tsx | 2 | ||||
-rw-r--r-- | packages/ui/src/badge/index.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/ui/src/badge/ProBadge.tsx b/packages/ui/src/badge/ProBadge.tsx index 63d5d673a..be7ed8e58 100644 --- a/packages/ui/src/badge/ProBadge.tsx +++ b/packages/ui/src/badge/ProBadge.tsx | |||
@@ -1,6 +1,6 @@ | |||
1 | import { mdiStar } from '@mdi/js'; | 1 | import { mdiStar } from '@mdi/js'; |
2 | import classnames from 'classnames'; | 2 | import classnames from 'classnames'; |
3 | import React, { Component } from 'react'; | 3 | import { Component } from 'react'; |
4 | import injectStyle from 'react-jss'; | 4 | import injectStyle from 'react-jss'; |
5 | 5 | ||
6 | import { Badge, Icon } from '..'; | 6 | import { Badge, Icon } from '..'; |
diff --git a/packages/ui/src/badge/index.tsx b/packages/ui/src/badge/index.tsx index 5dd735879..a8f3ebcbf 100644 --- a/packages/ui/src/badge/index.tsx +++ b/packages/ui/src/badge/index.tsx | |||
@@ -1,5 +1,5 @@ | |||
1 | import classnames from 'classnames'; | 1 | import classnames from 'classnames'; |
2 | import React, { Component } from 'react'; | 2 | import { Component, ReactNode } from 'react'; |
3 | import injectStyle from 'react-jss'; | 3 | import injectStyle from 'react-jss'; |
4 | 4 | ||
5 | import { Theme } from '../../../theme'; | 5 | import { Theme } from '../../../theme'; |
@@ -8,7 +8,7 @@ import { IWithStyle } from '../typings/generic'; | |||
8 | interface IProps extends IWithStyle { | 8 | interface IProps extends IWithStyle { |
9 | type: string; | 9 | type: string; |
10 | className?: string; | 10 | className?: string; |
11 | children: React.ReactNode; | 11 | children: ReactNode; |
12 | } | 12 | } |
13 | 13 | ||
14 | const badgeStyles = (theme: Theme) => { | 14 | const badgeStyles = (theme: Theme) => { |