Skip to content

Commit 2ef0df4

Browse files
committed
docs: removed in code comments
1 parent 8cafbb4 commit 2ef0df4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/models/StyledComponent.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ export default (ComponentStyle) => {
4040
}
4141
const element = this.$props.as
4242
return createElement(
43-
// We check to see if the target element is a Vue / Styled component.
44-
// If true, we render the component,
45-
// Otherwise, we know that it's the inner-most / inner styled component.
46-
// Before we render it, we check to see if a user as declared the polymorphic "as" prop.
47-
// If "as" is a valid HTML Element, we render the element.
48-
// If "as" is invalid, we render the default declared tag.
4943
isVueComponent(target) ? target : element || target,
5044
{
5145
class: [this.generatedClassName],

0 commit comments

Comments
 (0)