You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@coders-tokyo/app-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coders-tokyo/app-wrapper

Contains the Header & Navigation of [https://coders.tokyo/](https://coders.tokyo/)

0.2.0-canary.4
latest
npmnpm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

AppWrapper

Contains the Header & Navigation of https://coders.tokyo/

https://www.npmjs.com/package/@coders-tokyo/app-wrapper

Document

Usage

with user model

import { AppWrapper, appWrapperStyle } from './app-wrapper';

<style dangerouslySetInnerHTML={{ __html: appWrapperStyle }} />

const user = {
  name: 'abc';
  picture: 'avatar.png';
};

<AppWrapper user={user}>
  <main>Hello World</main>
</AppWrapper>

without user model

import { AppWrapper, appWrapperStyle } from './app-wrapper';

<style dangerouslySetInnerHTML={{ __html: appWrapperStyle }} />

<AppWrapper>
  <main>Hello World</main>
</AppWrapper>

Props

user?

User { name, picture? }

User information

FAQs

Package last updated on 20 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts