Skip to content

Commit b36f30f

Browse files
jyothikrishna708xcarpentier
authored andcommitted
Update README.md
1 parent 3fddfb5 commit b36f30f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
- Both dependencies are removed since `0.11.0`.
101101
- You still be able to provide a `video` but you need to provide `renderMessageVideo` prop.
102102

103-
## You have a question ?
103+
## You have a question?
104104

105105
1. Please check this readme and may find a response
106106
1. Please ask on StackOverflow first: https://stackoverflow.com/questions/tagged/react-native-gifted-chat
@@ -113,7 +113,7 @@
113113
import React from 'react'
114114
import { GiftedChat } from 'react-native-gifted-chat'
115115

116-
class Example extends React.Component {
116+
class Example extends React. Component {
117117
state = {
118118
messages: [],
119119
}
@@ -303,10 +303,10 @@ interface QuickReplies {
303303
- **`renderMessageText`** _(Function)_ - Custom message text
304304
- **`renderMessageImage`** _(Function)_ - Custom message image
305305
- **`renderMessageVideo`** _(Function)_ - Custom message video
306-
- **`imageProps`** _(Object)_ - Extra props to be passed to the [`<Image>`](https://facebook.github.io/react-native/docs/image.html) component created by the default `renderMessageImage`
306+
- **image props`** _(Object)_ - Extra props to be passed to the [`<Image>`](https://facebook.github.io/react-native/docs/image.html) component created by the default `renderMessageImage`
307307
- **`videoProps`** _(Object)_ - Extra props to be passed to the video component created by the required `renderMessageVideo`
308308
- **`lightboxProps`** _(Object)_ - Extra props to be passed to the `MessageImage`'s [Lightbox](https://github.com/oblador/react-native-lightbox)
309-
- **`isCustomViewBottom`** _(Bool)_ - Determine wether renderCustomView is displayed before or after the text, image and video views; default is `false`
309+
- **`isCustomViewBottom`** _(Bool)_ - Determine whether renderCustomView is displayed before or after the text, image and video views; default is `false`
310310
- **`renderCustomView`** _(Function)_ - Custom view inside the bubble
311311
- **`renderDay`** _(Function)_ - Custom day above a message
312312
- **`renderTime`** _(Function)_ - Custom time inside a message
@@ -315,7 +315,7 @@ interface QuickReplies {
315315
- **`renderInputToolbar`** _(Function)_ - Custom message composer container
316316
- **`renderComposer`** _(Function)_ - Custom text input message composer
317317
- **`renderActions`** _(Function)_ - Custom action button on the left of the message composer
318-
- **`renderSend`** _(Function)_ - Custom send button; you can pass children to the original `Send` component quite easily, for example to use a custom icon ([example](https://github.com/FaridSafi/react-native-gifted-chat/pull/487))
318+
- **`renderSend`** _(Function)_ - Custom send button; you can pass children to the original `Send` component quite easily, for example, to use a custom icon ([example](https://github.com/FaridSafi/react-native-gifted-chat/pull/487))
319319
- **`renderAccessory`** _(Function)_ - Custom second line of actions below the message composer
320320
- **`onPressActionButton`** _(Function)_ - Callback when the Action button is pressed (if set, the default `actionSheet` will not be used)
321321
- **`bottomOffset`** _(Integer)_ - Distance of the chat from the bottom of the screen (e.g. useful if you display a tab bar)
@@ -337,10 +337,10 @@ interface QuickReplies {
337337
```
338338

339339
- **`extraData`** _(Object)_ - Extra props for re-rendering FlatList on demand. This will be useful for rendering footer etc.
340-
- **`minComposerHeight`** _(Object)_ - Custom min height of the composer.
340+
- **`minComposerHeight`** _(Object)_ - Custom min-height of the composer.
341341
- **`maxComposerHeight`** _(Object)_ - Custom max height of the composer.
342342

343-
* **`scrollToBottom`** _(Bool)_ - Enables the scrollToBottom Component (Default is false)
343+
* **`scrollToBottom`** _(Bool)_ - Enables the scroll to bottom Component (Default is false)
344344
* **`scrollToBottomComponent`** _(Function)_ - Custom Scroll To Bottom Component container
345345
* **`scrollToBottomOffset`** _(Integer)_ - Custom Height Offset upon which to begin showing Scroll To Bottom Component (Default is 200)
346346
* **`scrollToBottomStyle`** _(Object)_ - Custom style for Bottom Component container
@@ -357,7 +357,7 @@ interface QuickReplies {
357357

358358
## Notes for [Redux](https://github.com/reactjs/redux)
359359

360-
The `messages` prop should work out-of-the-box with Redux. In most cases this is all you need.
360+
The `messages` prop should work out-of-the-box with Redux. In most cases, this is all you need.
361361

362362
If you decide to specify a `text` prop, GiftedChat will no longer manage its own internal `text` state and will defer entirely to your prop.
363363
This is great for using a tool like Redux, but there's one extra step you'll need to take:
@@ -453,7 +453,7 @@ module.exports = function override(config, env) {
453453
## Questions
454454

455455
- [How can I set Bubble color for each user?](https://github.com/FaridSafi/react-native-gifted-chat/issues/672)
456-
- [How can I pass style props to InputToolbar design and customize it's color and other styles properties?](https://github.com/FaridSafi/react-native-gifted-chat/issues/662)
456+
- [How can I pass style props to InputToolbar design and customize its color and other styles properties?](https://github.com/FaridSafi/react-native-gifted-chat/issues/662)
457457
- [How can I change the color of the message box?](https://github.com/FaridSafi/react-native-gifted-chat/issues/640)
458458
- [Is there a way to manually dismiss the keyboard?](https://github.com/FaridSafi/react-native-gifted-chat/issues/647)
459459
- [I want to implement a popover that pops right after clicking on a specific avatar,
@@ -480,6 +480,6 @@ Feel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/Fa
480480

481481
## Hire an expert!
482482

483-
Looking for a ReactNative freelance expert with more than 12 years experience? Contact Xavier from his [website](https://xaviercarpentier.com)!
483+
Looking for a ReactNative freelance expert with more than 12 years of experience? Contact Xavier from his [website](https://xaviercarpentier.com)!
484484

485485
<img src="https://api.keen.io/3.0/projects/5ae31b61c9e77c0001cc2093/events/pageviews?api_key=55301C3E5BAB217E90A5867113C02506CE20385CD6F4C9C1CCDD4671B1A9DE374C3DF9DEF70C0BB3F5A9C5CA4CB1CCCFAF25FC3ED9CF63FB83102456A6881EFBAECD1C7D9718EE5402752DD8F6FA2DEC4D844BCB17FE6262570DB447D9A8CED2&data=eyJ0aXRsZSI6ICJnYyJ9" />

0 commit comments

Comments
 (0)