@times-components/caption

3.8.34 • Public • Published

Caption

The caption component usually wraps an image and adds optional caption and/or optional credit text below it.

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 caption templates.

Dependents (7)

Package Sidebar

Install

npm i @times-components/caption

Weekly Downloads

2,074

Version

3.8.34

License

BSD-3-Clause

Unpacked Size

162 kB

Total Files

12

Last publish

Collaborators

  • marcincuber
  • newsuk
  • news-tools