1.2.2 • Published 5 years ago

@times-stories/text-elements v1.2.2

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

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

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago