diff options
Diffstat (limited to 'src/components/ui/badge')
-rw-r--r-- | src/components/ui/badge/ProBadge.tsx | 4 | ||||
-rw-r--r-- | src/components/ui/badge/index.tsx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ui/badge/ProBadge.tsx b/src/components/ui/badge/ProBadge.tsx index 410748a64..62c45b77c 100644 --- a/src/components/ui/badge/ProBadge.tsx +++ b/src/components/ui/badge/ProBadge.tsx | |||
@@ -4,8 +4,8 @@ import { Component } from 'react'; | |||
4 | import injectStyle, { WithStylesProps } from 'react-jss'; | 4 | import injectStyle, { WithStylesProps } from 'react-jss'; |
5 | 5 | ||
6 | import { Theme } from '../../../themes'; | 6 | import { Theme } from '../../../themes'; |
7 | import { Icon } from '../icon'; | 7 | import Icon from '../icon'; |
8 | import { Badge } from './index'; | 8 | import Badge from './index'; |
9 | 9 | ||
10 | interface IProps extends WithStylesProps<typeof styles> { | 10 | interface IProps extends WithStylesProps<typeof styles> { |
11 | badgeClasses?: string; | 11 | badgeClasses?: string; |
diff --git a/src/components/ui/badge/index.tsx b/src/components/ui/badge/index.tsx index a7ed866a5..33e2f5d53 100644 --- a/src/components/ui/badge/index.tsx +++ b/src/components/ui/badge/index.tsx | |||
@@ -67,4 +67,4 @@ class BadgeComponent extends Component<IProps> { | |||
67 | } | 67 | } |
68 | } | 68 | } |
69 | 69 | ||
70 | export const Badge = injectStyle(styles, { injectTheme: true })(BadgeComponent); | 70 | export default injectStyle(styles, { injectTheme: true })(BadgeComponent); |