@noriginmedia/react-spatial-navigation
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "@noriginmedia/react-spatial-navigation", | ||
"version": "2.0.4", | ||
"description": "HOC-based Spatial Navigation (key navigaition) solution for React", | ||
"version": "2.0.5", | ||
"description": "HOC-based Spatial Navigation (key navigation) solution for React", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -25,9 +25,4 @@ # react-spatial-navigation | ||
# Installation | ||
## NPM | ||
Will be published soon ¯\\\_(ツ)_/¯ | ||
## package.json | ||
```json | ||
... | ||
"react-spatial-navigation": "git+https://github.com/NoriginMedia/react-spatial-navigation.git#master" | ||
... | ||
```bash | ||
npm i @noriginmedia/react-spatial-navigation --save | ||
``` | ||
@@ -41,3 +36,3 @@ | ||
import {initNavigation, setKeyMap} from 'react-spatial-navigation'; | ||
import {initNavigation, setKeyMap} from '@noriginmedia/react-spatial-navigation'; | ||
@@ -58,3 +53,3 @@ initNavigation(); | ||
```jsx | ||
import {withFocusable} from 'react-spatial-navigation'; | ||
import {withFocusable} from '@noriginmedia/react-spatial-navigation'; | ||
@@ -68,3 +63,3 @@ ... | ||
```jsx | ||
import {withFocusable} from 'react-spatial-navigation'; | ||
import {withFocusable} from '@noriginmedia/react-spatial-navigation'; | ||
@@ -82,3 +77,3 @@ ... | ||
```jsx | ||
import {withFocusable} from 'react-spatial-navigation'; | ||
import {withFocusable} from '@noriginmedia/react-spatial-navigation'; | ||
@@ -106,3 +101,3 @@ ... | ||
```jsx | ||
import {withFocusable} from 'react-spatial-navigation'; | ||
import {withFocusable} from '@noriginmedia/react-spatial-navigation'; | ||
@@ -124,3 +119,3 @@ const Component = ({focused, setFocus}) => (<View> | ||
import React, {PureComponent} from 'react'; | ||
import {withFocusable} from 'react-spatial-navigation'; | ||
import {withFocusable} from '@noriginmedia/react-spatial-navigation'; | ||
@@ -127,0 +122,0 @@ ... |
4626395
333