Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

@times-stories/end-page

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@times-stories/end-page

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

npmnpm
Version
1.0.12
Version published
Maintainers
1
Created
Source

@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>
);

FAQs

Package last updated on 19 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts