diff --git a/src/index.ts b/src/index.ts index 4a08579..c72aebd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -119,7 +119,7 @@ const styled =

(more: ComponentStyle) => styled(StyledComponent, { name })(more), - attrs: (attrs: Attrs) => styled(StyledComponent, { attrs })() as StyledComponent, S>, + attrs: (attrs: Attrs) => styled(StyledComponent, { attrs })() as StyledComponent, S>, withComponent: (comp: React.ComponentType) => styled(StyledComponent, { comp })(componentStyle) as StyledComponent

, withChild: (child: React.ComponentType, childProps: any) =>