@react-ag-components/header

1.2.18 • Public • Published

header

React header component for external web apps

Note: This header doesn't not yet include the menu or logged in user. But it will soon ✌️

Usage

Install

npm i @react-ag-components/header --save

Use in your project

import Header from '@react-ag-components/header'
<Header />

Properties

prop Type Note
showInbox boolean inbox search visibility
menu object
  • ...
abn string abn number
userName string firstname + lastname
logonId string their logon id, normally their email
orgName string organisation name
otherInfo Object Array with field "label" and "value" ["label": "labelVal", "value": "valueVal"]
otherLink Object Array with field "label" and "value" ["label": "labelVal", "value": "/"]
name string page heading
searchArray JSON Array array to search on
searchKey string "id"
searchDisplayAttributes array ['id','status','date','destinationCountry']

Contributing

Get the repository

git clone https://github.com/alphillips/header.git

Update dependencies

npm install

Run the project

npm start

Deploy to npm

Build

npm run build -- --copy-files

Publish

npm publish --access public

Readme

Keywords

Package Sidebar

Install

npm i @react-ag-components/header

Weekly Downloads

5

Version

1.2.18

License

MIT

Unpacked Size

298 kB

Total Files

34

Last publish

Collaborators

  • ajithmjose
  • alphillips
  • zapjelly