diff --git a/src/framework/theme/style/styleConsumer.component.tsx b/src/framework/theme/style/styleConsumer.component.tsx index b140cdaff..d34b19a2d 100644 --- a/src/framework/theme/style/styleConsumer.component.tsx +++ b/src/framework/theme/style/styleConsumer.component.tsx @@ -128,7 +128,7 @@ export type StyledComponentClass
= React.ComponentClass ): StyledComponentClass => {
+export const styled = (Component: React.ComponentType ): StyledComponentClass => {
// @ts-ignore
if (!Component.styledComponentName) {
diff --git a/src/framework/theme/theme/themeConsumer.component.tsx b/src/framework/theme/theme/themeConsumer.component.tsx
index d43d7b752..9491d4cad 100644
--- a/src/framework/theme/theme/themeConsumer.component.tsx
+++ b/src/framework/theme/theme/themeConsumer.component.tsx
@@ -92,7 +92,7 @@ export type ThemedComponentClass = React.ComponentClass ,
+export const withStyles = (Component: React.ComponentType ,
createStyles?: CreateStylesFunction): ThemedComponentClass => {
type WrappingProps = PrivateProps