@airbnb/lunar-app-shell
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

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'),
);

Readme

Keywords

none

Package Sidebar

Install

npm i @airbnb/lunar-app-shell

Weekly Downloads

33

Version

3.0.2

License

MIT

Unpacked Size

53.7 kB

Total Files

40

Last publish

Collaborators

  • brieb
  • airbnbeng
  • lencioni
  • milesj
  • ljharb