Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 972e21a

Browse files
committed
refactor package name to react-native-draftjs-editor
1 parent b9d1cb1 commit 972e21a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

ReactNativeDraftjsExample/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
Platform
1717
} from "react-native";
1818
import KeyboardSpacer from "react-native-keyboard-spacer";
19-
import RNDraftView from "react-native-draftjs";
19+
import RNDraftView from "react-native-draftjs-editor";
2020

2121
const ControlButton = ({ text, action, isActive }) => {
2222
return (

ReactNativeDraftjsExample/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,6 @@ task copyDownloadableDepsToLibs(type: Copy) {
209209

210210
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
211211
project.afterEvaluate {
212-
apply from: '../../node_modules/react-native-draftjs/copyHtml.gradle';
213-
copyEditorHtmlToAppAssets(file('../../node_modules/react-native-draftjs'))
212+
apply from: '../../node_modules/react-native-draftjs-editor/copyHtml.gradle';
213+
copyEditorHtmlToAppAssets(file('../../node_modules/react-native-draftjs-editor'))
214214
}

ReactNativeDraftjsExample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"react": "16.8.6",
1212
"react-native": "0.60.3",
13-
"react-native-draftjs": "/Users/apple/Documents/react-native/react-native-draftjs",
13+
"react-native-draftjs-editor": "/Users/apple/Documents/react-native/react-native-draftjs",
1414
"react-native-keyboard-spacer": "^0.4.1",
1515
"react-native-webview": "6.3.1"
1616
},

ReactNativeDraftjsExample/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5115,7 +5115,7 @@ react-is@^16.8.1, react-is@^16.8.4, react-is@^16.8.6:
51155115
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
51165116
integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==
51175117

5118-
"react-native-draftjs@file:..":
5118+
"react-native-draftjs-editor@file:..":
51195119
version "0.0.1"
51205120

51215121
react-native-keyboard-spacer@^0.4.1:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-native-draftjs",
2+
"name": "react-native-draftjs-editor",
33
"version": "0.0.1",
44
"description": "",
55
"main": "index.js",

0 commit comments

Comments
 (0)