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

@times-stories/introduction-page

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@times-stories/introduction-page

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

latest
npmnpm
Version
1.2.2
Version published
Maintainers
2
Created
Source

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

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