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

@times-stories/text-elements

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@times-stories/text-elements

> Core styled text elements used across the template

latest
npmnpm
Version
1.2.2
Version published
Maintainers
2
Created
Source

@times-stories/text-elements

Core styled text elements used across the template

Installation

$ yarn add @times-stories/text-elements

Usage

All components optionally take a className and style prop.

import {
  Label,
  Headline,
  Standfirst,
  Byline
} from "@times-stories/text-elements";

export default () => (
  <React.Fragment>
    <Label>Your label here</Label>
    <Headline>Your headline here</Headline>
    <Standfirst
      style={{
        color: "red"
      }}
    >
      Your standfirst here
    </Standfirst>
    <Byline className="custom-byline-class">Your byline here</Byline>
  </React.Fragment>
);

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