Commit Graph

18 Commits

Author SHA1 Message Date
nandiniparimi1107
b7de25ff4c Adding minComposerHeight and maxComposerHeight props. (#1069)
* Adding minComposerHeight and maxComposerHeight props.

* as per review comments

* As per review comments.
2019-01-07 18:21:46 +01:00
nandiniparimi1107
0cd69b25b5 Flat-list re-render on demand. (#1060)
* Fixing issue with flatlist as its not re-rendering on renderFooter update

* code cleanup

* code cleanup

* code cleanup

* extraData for re-rendering the flat list.

* Adding extraData to proptypes

* fixing lint errors

* fixing lint errors

* fixing lint errors
2019-01-01 23:36:35 +01:00
Xavier Carpentier
938500d7d6 Add renderUsername on Bubble props 2018-12-13 10:16:52 +01:00
Xavier Carpentier
843fc75d7d add renderUsernameOnMessage on Bubble 2018-12-13 10:02:21 +01:00
Hammad Jutt
679e338d30 Improve typings to allow for generic messages (#1025)
* allow generic message types

* refactor generic message types to extends interface + improve custom render function props

* Use RN StyleProp for style props

* Preseve backwards compatibility

* add defaultProps and onPressActionButton typings

* fix user typing
2018-12-04 13:37:35 -02:00
Xavier Carpentier
0a253f0f2b fix imageStyle?: ViewStyle 2018-11-21 11:47:37 +01:00
Xavier Carpentier
fd5f1dfb22 Update index.d.ts 2018-11-14 16:54:45 +01:00
Xavier Carpentier
47465d8f1a Update index.d.ts 2018-11-14 11:59:14 +01:00
Xavier Carpentier
f6573fc38d Update index.d.ts 2018-11-14 11:55:56 +01:00
Xavier Carpentier
905c74829f Update index.d.ts 2018-11-14 11:54:14 +01:00
Danilo Bürger
ebe4b31510 Improved typings (#940)
* Improved render typings

* Use IMessage type instead of any
2018-11-08 22:52:13 +01:00
raphaelpra
89c7b573cc Change component interface name ISystemChat to SystemChat (#995)
* Change component name ISystemChat to SystemChat

ISystemChat was defined twice leading to issues

* Add system param to IChatMessage
2018-11-08 22:51:05 +01:00
Araya
1ba8f8b233 Use IMessage type instead of any to define the type of message property (#861) 2018-07-09 11:17:31 +02:00
Danilo Bürger
8ec3b1dbfe Improved typings (#916)
* Replaced LinkStyle with TextStyle as LinkStyle doesn't even exist

* Properly typed renderDay and renderTime

* Added optional image prop to IChatMessage
2018-07-09 11:13:52 +02:00
Frederic Barthelemy
7f98b26c2f Fix typos in TS Types (#877)
* Fix typos in TS Types

* Some more typos!
2018-06-05 10:21:39 +02:00
Omkar Joshi
beabebdcee Added type for showAvatarForEveryMessage in index.d.ts. #731 (#811) 2018-03-30 11:53:03 +02:00
Andrea Ascari
ad2ede9f79 Removed declare statement, as implicit, use ReactNode instead JSX.Element (#786) 2018-03-09 18:54:18 +01:00
Andrea Ascari
1db3720211 Ts support (#756)
* Added react and react-native typings to devDeps

* Created definition file for ts
2018-02-19 11:44:46 +01:00