@times-components/context
v1.24.0
Published
Shared context between components
Downloads
5,392
Readme
Context
Provides context capabilities by utilising React's Context API.
This package should be used to create app-wide shared components, such as themes or shared callbacks.
(See https://reactjs.org/docs/context.html on when to use context and when to avoid)
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 on each platform individually
yarn test:web
Future
More theme properties will be added in the future, such as the section colours, that will be defined by the apps' current navigation state.