diff options
Diffstat (limited to 'src/components/ui/toggle/index.tsx')
-rw-r--r-- | src/components/ui/toggle/index.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/ui/toggle/index.tsx b/src/components/ui/toggle/index.tsx index 856581a21..0629d1a2c 100644 --- a/src/components/ui/toggle/index.tsx +++ b/src/components/ui/toggle/index.tsx | |||
@@ -6,9 +6,9 @@ import injectStyle, { WithStylesProps } from 'react-jss'; | |||
6 | import { Theme } from '../../../themes'; | 6 | import { Theme } from '../../../themes'; |
7 | import { IFormField } from '../typings/generic'; | 7 | import { IFormField } from '../typings/generic'; |
8 | 8 | ||
9 | import { Error } from '../error'; | 9 | import Error from '../error'; |
10 | import { Label } from '../label'; | 10 | import Label from '../label'; |
11 | import { Wrapper } from '../wrapper'; | 11 | import Wrapper from '../wrapper'; |
12 | 12 | ||
13 | interface IProps | 13 | interface IProps |
14 | extends InputHTMLAttributes<HTMLInputElement>, | 14 | extends InputHTMLAttributes<HTMLInputElement>, |
@@ -122,6 +122,6 @@ class ToggleComponent extends Component<IProps> { | |||
122 | } | 122 | } |
123 | } | 123 | } |
124 | 124 | ||
125 | export const Toggle = injectStyle(styles, { injectTheme: true })( | 125 | export default injectStyle(styles, { injectTheme: true })( |
126 | ToggleComponent, | 126 | ToggleComponent, |
127 | ); | 127 | ); |