Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ android {
}

dependencies {
provided "com.facebook.react:react-native:+"
implementation 'com.facebook.react:react-native:+' // From node_modules
}
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import ReactNative, {
Text,
TouchableOpacity,
FlatList,
ViewPropTypes,
} from 'react-native'
import SketchCanvas from './src/SketchCanvas'
import { requestPermissions } from './src/handlePermissions';
import { ViewPropTypes } from 'deprecated-react-native-prop-types'

export default class RNSketchCanvas extends React.Component {
static propTypes = {
Expand Down Expand Up @@ -282,4 +282,4 @@ RNSketchCanvas.CACHES = SketchCanvas.CACHES;

export {
SketchCanvas
}
}
2 changes: 1 addition & 1 deletion src/SketchCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import ReactNative, {
PanResponder,
PixelRatio,
Platform,
ViewPropTypes,
processColor
} from 'react-native'
import { requestPermissions } from './handlePermissions';
import { ViewPropTypes } from 'deprecated-react-native-prop-types'

const RNSketchCanvas = requireNativeComponent('RNSketchCanvas', SketchCanvas, {
nativeOnly: {
Expand Down