Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native Calendar 无法使用, 报错信息无法识别 div ! Invariant Violation: View config not found for name div. #2580

Closed
Niu-12138 opened this issue May 25, 2018 · 9 comments

Comments

@Niu-12138
Copy link

111

@ant-design-bot
Copy link

Translation of this issue:


React Native Calendar is unavailable, error message is not recognized div ! Invariant Violation: View config not found for name div.

111

@aqnaruto
Copy link

issue主能交流下吗我想改下组件,苦于源码里找不到render的入口。都是用ts写的完全不知道哪里引入的reactnative组件

@aqnaruto
Copy link

RMCInputNumber github上的源码和自己安装后的 完全不一样 安装后的是编译后的,自己要改 还得重新编译不成??

@aqnaruto
Copy link

qq 20180525172227
费了好大劲 改了ts的东西,我想说既然 要用ts这种恶心的东西,就得写个文档 跟大家招呼一声怎么改吧。
ps:这种小项目框架用ts 真的毫无用处,只是增加了修改diy的难度。

@warmhug
Copy link
Contributor

warmhug commented May 28, 2018

Use babel-plugin-import.

@Niu-12138
Copy link
Author

@warmhug 我运行过 npm install babel-plugin-import --save-dev , 没啥用

@Niu-12138
Copy link
Author

@aqnaruto 公司想用, 但很多控件都报错div, 无奈啊

@Niu-12138
Copy link
Author

发现问题了, Mobile Ant Design 很多组件都是web专用的, 弃坑了0.0

@warmhug
Copy link
Contributor

warmhug commented May 28, 2018

欢迎使用 web 版,同时大多是支持 RN 的,另外 Ref #2556 即将拆出单独的 RN 仓库,欢迎随后使用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants