npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

@airbnb/lunar-app-shell

3.0.2

@milesj

npmRepoSnykSocket
Downloads:66
$ npm install @airbnb/lunar-app-shell
DailyWeeklyMonthlyYearly

Lunar AppShell

A root component that should wrap your entire application.

yarn add @airbnb/lunar-app-shell

Usage

The AppShell is designed to wrap an entire React application, and as such, should primarily be the root component in the application tree (excluding HMR and other wrappers/providers). For example:

import React from 'react';
import ReactDOM from 'react-dom';
import AppShell from '@airbnb/lunar-app-shell';
import App from '../local/components/App';

ReactDOM.render(
  <AppShell name="Lunar">
    <App />
  </AppShell>,
  document.getElementById('root'),
);