@times-components/watermark

2.23.0 • Public • Published

Watermark

A Times standard svg that acts as a placeholder image wherever required. The Watermark component can act as a placeholder for failed images, or as a loading state. It requires height and width props for layout.

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

Testing can be done by running:

yarn test:web

Visit the official storybook to see our available watermark templates.

Package Sidebar

Install

npm i @times-components/watermark

Weekly Downloads

8

Version

2.23.0

License

BSD-3-Clause

Unpacked Size

386 kB

Total Files

11

Last publish

Collaborators

  • marcincuber
  • newsuk
  • news-tools