0.0.3 • Published 2 years ago

@reusejs/react-native-buttons v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Join Discord NPM version NPM downloads MIT License NPM Publish

React Native Component Template

This is a sample repository which can be used to develop new component libraries and push to NPM. Tailwind is integrated and purge is configured. So, when you make a final build, CSS would be send along with package.

Where to write components?

  1. There is a src folder where you can write your components
  2. Whichever components you want to be exposed would go into: index.js

Workflow

Storybook

  • Run: yarn storybook and yarn ios or yarn android which will run the storybook in your localhost
  • Open storybook/stories/Box/Box.stories.js to find an example of Storybook
  • When you write your own component, also write a .stories.jsx and storybook would pick it up

Contributing

New components

Hit us on discord on ideas channel. Propose your ideas, we will blow our brains out.

To existing components

Right now we don't a lot of hard and fast rules.

Just follow: https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow

Basically:

  • Fork the component to which you want to contribute
  • Make your changes, test it properly
  • Raise a Pull Request

Releases

Once your pull request is made, a release would be schedule which will push the library to npm to @reusejs org. You can't push to reusejs org.

License

react-native-component-template is freely distributable under the terms of the MIT license.

0.0.3

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago