Package Exports
- @applicaster/zapp-react-native-ui-components
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@applicaster/zapp-react-native-ui-components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Zapp React Native UI Components
This package contains the React Native UI components for the quick brick app
Contributing
- Follow the steps in the main README to set up the Zapp-React-Native repo, and run the app.
- add your component as explained below
- in order to see the component in the App, you may need to manually edit the rivers_configuration.json file so that one screen includes your new component
Adding a component
- create a folder in
./Components
- make sure your component uses the standard export, and not the default syntax
// Good
export class MyAwesomeComponent extends React.Component {
/* ... */
}
// Not good
class MyAwesomeComponent extends React.Component {
/* ... */
}
export default MyAwesomeComponent;
- in
Components/index.js
add the export for your component
export { MyAwesomeComponent } from "./MyAwesomeComponent";