@times-components/caption

Media caption component

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@times-components/caption
250133.3.114 days ago5 years agoMinified + gzip package size for @times-components/caption in KB

Readme

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.