diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/forms/src/button/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/forms/src/button/index.tsx b/packages/forms/src/button/index.tsx index 90eda21e7..7a7f83dab 100644 --- a/packages/forms/src/button/index.tsx +++ b/packages/forms/src/button/index.tsx | |||
@@ -4,7 +4,7 @@ import { Theme } from '@meetfranz/theme'; | |||
4 | import classnames from 'classnames'; | 4 | import classnames from 'classnames'; |
5 | import CSS from 'csstype'; | 5 | import CSS from 'csstype'; |
6 | import React, { Component } from 'react'; | 6 | import React, { Component } from 'react'; |
7 | import injectStyle from 'react-jss'; | 7 | import injectStyle, { withTheme } from 'react-jss'; |
8 | import Loader from 'react-loader'; | 8 | import Loader from 'react-loader'; |
9 | 9 | ||
10 | import { IFormField, IWithStyle } from '../typings/generic'; | 10 | import { IFormField, IWithStyle } from '../typings/generic'; |
@@ -271,4 +271,4 @@ class ButtonComponent extends Component<IProps> { | |||
271 | } | 271 | } |
272 | } | 272 | } |
273 | 273 | ||
274 | export const Button = injectStyle(styles)(ButtonComponent); | 274 | export const Button = injectStyle(styles)(withTheme(ButtonComponent)); |