Skip to content
This repository was archived by the owner on Mar 27, 2021. It is now read-only.

Commit a6c82fc

Browse files
Merge pull request #61 from indiesquidge/element-render-div
Render *Element components with div instead of span
2 parents 3b7ee77 + a2d32a5 commit a6c82fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const Element = (type: string, hocOptions: {sourceType?: string} = {}) =>
106106
this._ref = ref;
107107
};
108108
render() {
109-
return <span className={this.props.className} ref={this.handleRef} />;
109+
return <div className={this.props.className} ref={this.handleRef} />;
110110
}
111111
};
112112

0 commit comments

Comments
 (0)