Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@times-stories/end-page

Package Overview
Dependencies
Maintainers
2
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

latest
npmnpm
Version
1.2.2
Version published
Maintainers
2
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 07 May 2019

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