@focustapps/fa-expo-boilerplate
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

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

Package Sidebar

Install

npm i @focustapps/fa-expo-boilerplate

Repository

github.com

Weekly Downloads

1

Version

0.1.6

License

MIT

Unpacked Size

352 kB

Total Files

137

Last publish

Collaborators

  • semihcihan
  • brianmharding13