@times-components/pull-quote

3.15.40 • Public • Published

Pull Quote

Cited content is shown within an article using the pull quote package. This simple package show a textual quote on the page, and is mostly configured with the colours that comprise its elements. The pull quote takes required content, which is the quote itself, and two optional strings called caption and twitter, which are typically used to attriute the citation (or quote) to a person, including their (optional) twitter handle.

The colour prop quoteColour handles the colour of the colour of the quotation marks.

Contributing

Please read CONTRIBUTING.md before contributing to this package

Running the code

Please see our main README.md to get the project running locally

Development

The code can be formatted and linted in accordance with the agreed standards.

yarn fmt
yarn lint

Testing

This package uses yarn (latest) to run unit tests on each platform with jest.

yarn test:web

Visit the official storybook to see our available pull quote templates.

Package Sidebar

Install

npm i @times-components/pull-quote

Weekly Downloads

420

Version

3.15.40

License

BSD-3-Clause

Unpacked Size

168 kB

Total Files

18

Last publish

Collaborators

  • marcincuber
  • newsuk
  • news-tools