Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flow typedefs #1414

Merged
merged 36 commits into from
Sep 24, 2019
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f6af9c2
Add flow copy typedefs
amiralies Sep 22, 2019
5b42b3a
Add flow dependency and tests folder
amiralies Sep 22, 2019
a01058f
Add some basic types
amiralies Sep 22, 2019
9584454
Add type exports
amiralies Sep 22, 2019
3124130
Fix extended generic
amiralies Sep 22, 2019
5fb0663
Add leftRightStyle
amiralies Sep 22, 2019
7c6375c
Add Time typs
amiralies Sep 22, 2019
f728368
Add Day types
amiralies Sep 22, 2019
c9076bf
Add Actions types
amiralies Sep 22, 2019
663f610
Fix indent
amiralies Sep 22, 2019
bdf40a8
Fix Actions types
amiralies Sep 22, 2019
82c1ef9
Add SystemMessage
amiralies Sep 22, 2019
c1e312c
Add send typings
amiralies Sep 22, 2019
4fe8d3a
Add GiftedAvatar typings
amiralies Sep 22, 2019
c46617b
Add Avatar typings
amiralies Sep 22, 2019
1b2b61d
Add Composer types
amiralies Sep 22, 2019
e9fc0a3
Add MessageVideo types
amiralies Sep 22, 2019
06401c8
Add MessageImage types
amiralies Sep 22, 2019
1efaef1
Remove class methods
amiralies Sep 22, 2019
b3c24de
Add MessageText types
amiralies Sep 22, 2019
b9d1ff7
Add QuickReplies types
amiralies Sep 22, 2019
3c65840
Add InputToolbar types
amiralies Sep 22, 2019
c275bc2
Update MessageVideo props
amiralies Sep 22, 2019
9c89518
Add Bubble types
amiralies Sep 22, 2019
ed30fb0
Add Message types
amiralies Sep 22, 2019
17139bd
Add LoadEarlier types
amiralies Sep 22, 2019
d0ea0d5
Add MessageContainer types
amiralies Sep 22, 2019
c098e0b
Add GiftedChat types
amiralies Sep 23, 2019
221e056
Fix liseViewProps types
amiralies Sep 23, 2019
8c603ce
Add index export
amiralies Sep 23, 2019
0cd68dc
Add utils types
amiralies Sep 23, 2019
d66454c
Remove tests dir
amiralies Sep 23, 2019
f3f7309
Add style types to LeftRightStyle
amiralies Sep 23, 2019
ea69ff2
Add strong style types
amiralies Sep 23, 2019
3fc3597
Fix listViewProps required
amiralies Sep 23, 2019
7088129
Merge branch 'master' into add-flow-typedefs
xcarpentier Sep 24, 2019
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
Prev Previous commit
Next Next commit
Add send typings
  • Loading branch information
amiralies committed Sep 22, 2019
commit c1e312c2cc8a7df8a4513e08b2075c095710e75e
17 changes: 17 additions & 0 deletions flow-typedefs/Send.js.flow
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// @flow
import { Component } from 'react'

export interface SendProps {
text?: string;
label?: string;
containerStyle?: Object;
textStyle?: Object;
children?: React$Element<any>;
alwaysShowSend?: boolean;
disabled?: boolean;
onSend?: ({ text: string }, boolean) => void;
}

export default class Send extends Component<SendProps> {
render: () => React$Element<any>
}