@times-components/icons

2.23.0 • Public • Published

Icons

The icons package exports specific Times icons, that can be configured with four options:

  • fillColour - sets the color inside the object
  • strokeColour - sets the color of the line drawn around the object
  • height
  • width

The icons include diamond, email, facebook, star, twitter, and video.

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

Readme

Keywords

Package Sidebar

Install

npm i @times-components/icons

Weekly Downloads

457

Version

2.23.0

License

BSD-3-Clause

Unpacked Size

221 kB

Total Files

31

Last publish

Collaborators

  • marcincuber
  • newsuk
  • news-tools