rilyu / teaset

A UI library for react native, provides 20+ pure JS(ES6) components, focusing on content display and action control.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Super expression must either be null or a function

eduhds opened this issue · comments

I have this issue with Teaset after update RN, and only work when I comment export and import lines from some components as Theme, Label, Button, and others. In node_modules/teaset/index.js file.

"react": "16.11.0",
"react-native": "0.62.0-rc.1",
"teaset": "^0.7.1"

Screenshot_2020-02-10-14-56-19 1

commented

+1

所有 extends TouchableOpacity 的地方可能都要改

+1 RN 0.62

@henriqueedu @JonsonHI @rilyu 0.7.4 版本好像修复了这些问题,大家测试一下

commented

问题已修复,0.7.4 需要 rn0.62.0以上,早期版本请使用 teaset@0.7.1

问题已修复,0.7.4 需要 rn0.62.0以上,早期版本请使用 teaset@0.7.1

It's works fine. Thanks!