1.2.2 • Published 5 years ago

@times-stories/end-page v1.2.2

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

@times-stories/end-page

The End page template for the @times-stories suite of packages

Installation

$ yarn add @times-stories/end-page

Usage

import Story from "@times-stories/story";
import Page from "@times-stories/page";
import EndPage from "@times-stories/end-page";

const topics = [
  { name: "Topic 1", slug: "topic-1" },
  { name: "Topic 2", slug: "topic-2" }
];

export default () => (
  <Story>
    <Page>
      {props => (
        <EndPage
          {...props}
          articleId="1234-1234-1234"
          headline="This is the headline"
          topics={topics}
        />
      )}
    </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.13

5 years ago

1.0.12

5 years ago

1.0.11

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