@focustapps/fa-expo-boilerplate
v0.1.6
Published
boilerplate library for fa react native projects
Downloads
3
Readme
fa-expo-boilerplate
description of the package
Installation
npm install @focustapps/fa-expo-boilerplate
Usage
// Use Boilerplate as the top component
// Provide a theme prop to 'Boilerplate' to customize the theme unless you want to use the default theme
import { useCachedResources, Boilerplate } from 'fa-expo-boilerplate';
import React from 'react';
export default function App() {
const isLoadingComplete = useCachedResources();
if (!isLoadingComplete) {
return null;
} else {
return (
<Boilerplate theme={yourThemeObject}>
{
// ...
}
</Boilerplate>
);
}
}
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT