File tree Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ Web fork of most complete chat UI for React Native (formerly known as Gifted Mes
19
19
20
20
## Installation
21
21
22
- - Using [ npm] ( https://www.npmjs.com/#getting-started ) : ` npm install react-native -gifted-chat --save `
23
- - Using [ Yarn] ( https://yarnpkg.com/ ) : ` yarn add react-native -gifted-chat `
22
+ - Using [ npm] ( https://www.npmjs.com/#getting-started ) : ` npm install react-web -gifted-chat --save `
23
+ - Using [ Yarn] ( https://yarnpkg.com/ ) : ` yarn add react-web -gifted-chat `
24
24
25
25
## Example
26
26
@@ -134,24 +134,7 @@ e.g.
134
134
- ** ` onInputTextChanged ` ** _ (Function)_ - Callback when the input text changes
135
135
- ** ` maxInputLength ` ** _ (Integer)_ - Max message composer TextInput length
136
136
137
- ## Notes for Android
138
-
139
- - Make sure you have ` android:windowSoftInputMode="adjustResize" ` in your ` AndroidManifest.xml ` :
140
-
141
- ``` xml
142
- <activity
143
- android : name =" .MainActivity"
144
- android : label =" @string/app_name"
145
- android : windowSoftInputMode =" adjustResize"
146
- android : configChanges =" keyboard|keyboardHidden|orientation|screenSize" >
147
- ```
148
-
149
- - If you plan to use `GiftedChat` inside a `Modal`, see [#200](https://github.com/FaridSafi/react-native-gifted-chat/issues/200).
150
-
151
137
## License
152
138
153
139
- [ MIT] ( LICENSE )
154
140
155
- ## Author
156
-
157
- Feel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/FaridSafi)!
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-web-gifted-chat" ,
3
- "version" : " 0.0.1 " ,
3
+ "version" : " 0.0.3 " ,
4
4
"description" : " The most complete chat UI for React Web" ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
22
22
"homepage" : " https://github.com/stermedia/react-web-gifted-chat#readme" ,
23
23
"scripts" : {
24
24
"lint" : " eslint . --ext .js,.jsx" ,
25
- "compile" : " export BABEL_ENV='production' && rm -rf ./dist && mkdir dist && babel index.js src/* -d dist --ignore **/__tests__ && cp package.json dist/"
25
+ "compile" : " export BABEL_ENV='production' && rm -rf ./dist && mkdir dist && babel index.js src/* -d dist --ignore **/__tests__ && cp package.json dist/ && cp README.md dist/ "
26
26
},
27
27
"devDependencies" : {
28
28
"babel-cli" : " ^6.24.1" ,
You can’t perform that action at this time.
0 commit comments