1.2.2 • Published 5 years ago

@times-stories/pull-quote-page v1.2.2

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

@times-stories/pull-quote-page

The pull quote page for the @times-stories suite of packages

Installation

$ yarn add @times-stories/pull-quote-page

Usage

import Story from "@times-stories/story";
import Page from "@times-stories/page";
import PullQuotePage from "@times-stories/pull-quote-page";

const backgroundImage = {
  src: "url/to/image",
  focusPoint: {
    x: 50,
    y: 50
  }
};

export default () => (
  <Story>
    <Page>
      {props => (
        <PullQuotePage
          {...props}
          quote="There was a transformation of people, it was marvellous to see"
          attribution="Hackney"
          credit="Margaret Poplak, 87"
          backgroundColor="#000"
          backgroundImage={{
            src: backgroundImage,
            focusPoint: {
              x: 50,
              y: 50
            }
          }}
          withBlur={false}
          withImpact={false}
        />
      )}
    </Page>
  </Story>
);
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.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.12

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago