diff options
Diffstat (limited to 'packages/ui/src/badge/index.tsx')
-rw-r--r-- | packages/ui/src/badge/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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) => { |