JSPM

@times-components/icons

2.14.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 367
  • Score
    100M100P100Q114155F
  • License BSD-3-Clause

Times SVG Icons

Package Exports

  • @times-components/icons
  • @times-components/icons/rnw

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@times-components/icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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:all
yarn test:android
yarn test:ios
yarn test:web

Visit the official storybook to see our available icons templates.