This package includes utilities for supporting responsive layouts for native
platforms. It provides a wrapper component called which listens to
orientation changes and provides layout information through context named
ResponsiveContext
. Any child component can then use this layout information by
consuming ResponsiveContext
.
On web, it just passes the screenWidth through the context and does not include any orientation listeners.
Please read CONTRIBUTING.md before contributing to this package
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
Testing can be done on each platform individually
yarn test:web