Support CMD + Enter to publish post
This commit is contained in:
parent
8917cf77a0
commit
31df05825c
3 changed files with 77 additions and 59 deletions
|
@ -34,6 +34,7 @@ interface TextInputProps {
|
|||
autocompleteView: UserAutocompleteModel
|
||||
setRichText: (v: RichText) => void
|
||||
onPhotoPasted: (uri: string) => void
|
||||
onPressPublish: (richtext: RichText) => Promise<false | undefined>
|
||||
onSuggestedLinksChanged: (uris: Set<string>) => void
|
||||
onError: (err: string) => void
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue