@times-stories/chapter-page
v1.3.2
Published
> The chapter page for the `@times-stories` suite of packages
Downloads
1
Keywords
Readme
@times-stories/chapter-page
The chapter page for the
@times-stories
suite of packages
Installation
$ yarn add @times-stories/chapter-page
Usage
import Story from "@times-stories/story";
import Page from "@times-stories/page";
import ChapterPage from "@times-stories/chapter-page";
export default () => (
<Story>
<Page>
{props => (
<ChapterPage
{...props}
headline="Record care: your memories of the NHS"
standfirst="Click anywhere on the right to begin listening to our readers' experiences"
backgroundImage={{
src: backgroundImage,
focusPoint: {
x: 50,
y: 50
}
}}
/>
)}
</Page>
</Story>
);