1.2.2 • Published 6 years ago

@times-stories/introduction-page v1.2.2

Weekly downloads
-
License
-
Repository
-
Last release
6 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

6 years ago

1.2.1

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago