Coder Social home page Coder Social logo

yemretat / react-native-component-library-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.11 MB

React Native component library template: A robust starting point for building reusable and scalable mobile interfaces.

JavaScript 28.56% TypeScript 44.26% Ruby 2.15% Starlark 1.31% Java 13.68% Objective-C 9.89% Shell 0.15%

react-native-component-library-template's Introduction

React Native Component Library Template

Introduction

Welcome to the React Native Component Library Template! This template is designed to provide developers with a fast and efficient starting point for building their own React Native component libraries. It includes a set of pre-designed components that are easily customizable to fit your project's unique requirements.

Features

  • Pre-built React Native components ready for customization.
  • Integrated with @shopify/restyle for theming and styling.
  • Storybook integration for component documentation and testing.
  • TypeScript support for type-safe coding.
  • Essential development scripts for linting, testing, and building.

Getting Started

  1. Clone the Repository
git clone [repository-url]
cd [repository-directory]

  1. Install Dependencies
yarn install

or

npm install
  1. Run Storybook (Optional)

To view and test components in Storybook:

yarn storybook

or

npm run storybook

Customizing Components

  • All components are located in the src/components directory.
  • Use the theme.ts file in the src directory to customize the theme and styles.
  • Add or modify components as needed for your specific use case.

Building Your Library

After making changes, build your component library with:

yarn build

or

npm run build

This will compile your TypeScript and JavaScript files to the lib directory.

Contributing

Contributions to improve this template are welcome. Please ensure to follow the contribution guidelines when submitting pull requests.

react-native-component-library-template's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.