@financial-times/header-services
v2.0.2
Published
Origami Header Services component
Downloads
1,502
Maintainers
Keywords
Readme
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.