@financial-times/header-services

2.0.2 • Public • Published

header-services

React UI component to encapsulate headers for Spark applications. This repo has a story book. Run it locally using yarn storybook.

Installation

yarn add @financial-times/header-services // with yarn
npm i @financial-times/header-services  // with npm

Usage

import { HeaderServices } from '@financial-times/header-services';

<HeaderServices>
  <Top {...{ logo, title }}>
    <button>Call to action</button<>
  </Top>
  <PrimaryNav>
    <a href="https://spark.ft.com/">Navigation link to a service</a>
  </PrimaryNav>
</HeaderServices>

Development & Pubishing

This repo is being developed and published as part of @financial-times/spark-components which uses lerna under the hood for the publication flows.

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/header-services

Weekly Downloads

334

Version

2.0.2

License

ISC

Unpacked Size

85.7 kB

Total Files

6

Last publish

Collaborators

  • robgodfrey
  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson