0.1.2 • Published 7 years ago
yatedo-component-header v0.1.2
yatedo-component-header
Yatedo Header component
Install
$ npm install --save yatedo-component-header
Usage
To enable authentification process
// Import authentification process handler in app.js
import Header from 'yatedo-component-header';
// Set up the Header component
<Header
brandLogoUrl="https://sslstatic.yatedo.com/images/products/v3/talent/yatedo-header.png"
brandLogoLinkHref="https://www.yatedo.com"
userInfos={userInfoObject}
userNavLinks={[
{ id: 1, type: 'link', title: 'Link 1' },
{ id: 2, type: 'link', title: 'Link 2' },
{ id: 3, type: 'separator' },
{ id: 4, type: 'link', title: 'Link 3' },
]}
/>
License
YATEDO ©