Skip to content

Commit 7484044

Browse files
macrozonemiallo
authored andcommitted
fix: lib is broken as it is not pure javasript, but a mix out of typescript and javascript
not sure how that ended up here, but it breaks the library
1 parent 57fb36c commit 7484044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/renderRules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import hasParents from './util/hasParents';
77

88
import textStyleProps from './data/textStyleProps';
99

10-
const renderRules = (Text: Component) => ({
10+
const renderRules = (Text) => ({
1111
// when unknown elements are introduced, so it wont break
1212
unknown: (node, children, parent, styles) => null,
1313

0 commit comments

Comments
 (0)