@times-components/pull-quote
v3.15.41
Published
Pull Quote for Times Components Articles
Downloads
4,109
Readme
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.