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