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

看教程的疑问 #20

Open
fishenal opened this issue Feb 16, 2016 · 1 comment
Open

看教程的疑问 #20

fishenal opened this issue Feb 16, 2016 · 1 comment

Comments

@fishenal
Copy link

自定义组件那里,我看实例是把自定义组件跟入口文件放到一起了,如果组件是单独的文件,是需要module.export 吗,还是怎么样
另外,github上的react组件,可以直接拿来在react native里用吗?

@vczero
Copy link
Owner

vczero commented Feb 16, 2016

第一个问题:需要module.export ;
第二个问题:不能直接用;

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

2 participants