1.2.2 • Published 5 years ago

@times-stories/introduction-page v1.2.2

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

@times-stories/introduction-page

The introduction page for the @times-stories suite of packages

Installation

$ yarn add @times-stories/introduction-page

Usage

import Story from "@times-stories/story";
import Page from "@times-stories/page";
import IntroductionPage from "@times-stories/introduction-page";

const backgroundImage = {
  src: "url/to/image",
  focusPoint: {
    x: 50,
    y: 50
  }
};

export default () => (
  <Story>
    <Page>
      {props => (
        <IntroductionPage
          {...props}
          label="70 years of the NHS"
          headline="Record care: your memories of the NHS"
          standfirst="Click anywhere on the right to begin listening to our readers' experiences"
          byline="The Times"
          date="July 4, 2018"
          backgroundImage={backgroundImage}
        />
      )}
    </Page>
  </Story>
);
1.2.2

5 years ago

1.2.1

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago