├── .babelrc ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmignore ├── .npmrc ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── src ├── AutoDirectionProvider.jsx ├── DirectionProvider.jsx ├── constants.js ├── proptypes │ ├── brcast.js │ └── direction.js └── withDirection.jsx └── tests ├── .eslintrc ├── AutoDirectionProvider_test.jsx ├── DirectionProvider_test.jsx ├── _helpers.jsx ├── mocks └── brcast_mock.js └── withDirection_test.jsx /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/package.json -------------------------------------------------------------------------------- /src/AutoDirectionProvider.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/src/AutoDirectionProvider.jsx -------------------------------------------------------------------------------- /src/DirectionProvider.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/src/DirectionProvider.jsx -------------------------------------------------------------------------------- /src/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/src/constants.js -------------------------------------------------------------------------------- /src/proptypes/brcast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/src/proptypes/brcast.js -------------------------------------------------------------------------------- /src/proptypes/direction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/src/proptypes/direction.js -------------------------------------------------------------------------------- /src/withDirection.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/src/withDirection.jsx -------------------------------------------------------------------------------- /tests/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/tests/.eslintrc -------------------------------------------------------------------------------- /tests/AutoDirectionProvider_test.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/tests/AutoDirectionProvider_test.jsx -------------------------------------------------------------------------------- /tests/DirectionProvider_test.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/tests/DirectionProvider_test.jsx -------------------------------------------------------------------------------- /tests/_helpers.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/tests/_helpers.jsx -------------------------------------------------------------------------------- /tests/mocks/brcast_mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/tests/mocks/brcast_mock.js -------------------------------------------------------------------------------- /tests/withDirection_test.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbnb/react-with-direction/HEAD/tests/withDirection_test.jsx --------------------------------------------------------------------------------