This package ensures a consistent API for SVGs that are used across Times
Components. The web version relies on
The native version provides its own set of components and utilises
react-native. Components available include
Opacity behaves differently on native and web SVGs. In web,
strokeOpacity are applied separately, but native only has one
that affects the opacity on both fill colours and stroke colours.
Please read CONTRIBUTING.md before contributing to this package
Running the code
Please see our main README.md to get the project running locally
The code can be formatted and linted in accordance with the agreed standards.
yarn fmt yarn lint
This package uses yarn (latest) to run unit tests on each platform with jest.
SVGs could use their own showcase.