@pedrosolabs/rnbasecomps
v1.5.0
Published
Base components for React Native projects
Downloads
8
Readme
React Native Base Components
This project includes some components to assit on the development of React Native apps.
Components:
- BaseButton -- Button
- BaseCheckbox -- Check box
- BaseHorizBar -- Horizontal bar
- BaseIcon -- Icon from Material or Ion groups
- BaseImage -- Image
- BaseInfoTextScreen -- Screen to show some info text
- BaseInput -- Text input
- BaseLink -- Link
- BaseModal -- Modal window
- BasePicker -- Selection of items
- BaseSpacer -- Screen spacer
- BaseSpinnerScreen -- Screen showing spinner centered
- BaseSpinner -- Spinner (activity indicator)
HOCs:
- withBanner -- Screen with banner (hero) on top
- withNavTitle -- Set the title of the navigation bar
- withNTSV.tsx -- With Navigation Title and Scroll View
- withScrollView -- Screen with scroll view
Installation
yarn add @pedrosolabs/rnbasecomps
Execution
Run (in this order, and in two different terminals):
yarn start
yarn rn run-android
In a third terminal, you can log using:
yarn rn log-android