4.0.1 • Published 4 years ago

@usercentric/uc-design-system-app-shell v4.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

UCDS AppShell

A root component that should wrap your entire application.

yarn add @usercentric/uc-design-system-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 '@usercentric/uc-design-system-app-shell'
import App from '../local/components/App'

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