@times-components/caption

3.8.35 • 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.

/@times-components/caption/

    Package Sidebar

    Install

    npm i @times-components/caption

    Weekly Downloads

    3,557

    Version

    3.8.35

    License

    BSD-3-Clause

    Unpacked Size

    162 kB

    Total Files

    12

    Last publish

    Collaborators

    • marcincuber
    • newsuk
    • news-tools