Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1016 Bytes

File metadata and controls

40 lines (28 loc) · 1016 Bytes

ASU Header

ASU Web Standards-based implementation of global header.

CLI Commands

# add component-footer
yarn add @asu/component-header

# run storybook
yarn storybook

# build for production with minification
yarn build

# run tests
yarn test

How to install

  1. Either make sure you are part of the ASU github organization and follow the instructions here,or, if you already are, you can clone this repo and run yarn install and yarn build to build the package locally.

1. ```yarn add @asu/component-header```

Use as a JS module in React app

Default import

    import { ASUHeader } from '@asu/component-header@dev'

Aliased import

  import { ASUHeader as Header } from '@asu/component-header@dev'

Import for use in HTML page

You can find an example of how to set ASUHeader props here