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

Need help in creating new component library #208

Open
sureshsamanthapudi opened this issue Aug 25, 2019 · 1 comment
Open

Need help in creating new component library #208

sureshsamanthapudi opened this issue Aug 25, 2019 · 1 comment
Labels

Comments

@sureshsamanthapudi
Copy link

Hi,

This issue is not related to 'react-native-tableview'.
We are creating a new private component library for our organization.
I tried the following:

  1. Component library itself as a separate project with react and react-native as peer dependencies in my project.
  2. But having just the components code in component library is not useful because we have to add new code or fixes and we have to run the story book(Because of peer dependencies could not be able run story book).

Could you please help me with the model I have to follow for creating a react native library?

Thank you in advance.

@iRoachie
Copy link
Collaborator

You should have react and react-native as dev dependencies as well as peer dependencies. See https://github.com/callstack/react-native-paper/blob/master/package.json for example.

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

No branches or pull requests

2 participants