diff options
author | dan <dan.abramov@gmail.com> | 2024-10-25 21:36:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-25 21:36:54 +0100 |
commit | d520dd95b9aaba4850645382a71cb38bb2c2d23a (patch) | |
tree | a9fbdfbe3f4780a2f6ca840bd5c3753e2241e8bd /src/view/com/composer/text-input/TextInput.tsx | |
parent | a729efc3b654a3086bb4216f9f9fae74f622e57c (diff) | |
download | voidsky-d520dd95b9aaba4850645382a71cb38bb2c2d23a.tar.zst |
Split composer into smaller components (#5941)
* Extract ComposerTopBar * Rename state variables to align with props * Extract ComposerEmbeds * Extract ComposerPills * Extract ComposerFooter * Tweak condition to be simpler * Extract ComposerPost
Diffstat (limited to 'src/view/com/composer/text-input/TextInput.tsx')
-rw-r--r-- | src/view/com/composer/text-input/TextInput.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index 43074fa5b..11bbf13d2 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -45,7 +45,7 @@ interface TextInputProps extends ComponentProps<typeof RNTextInput> { placeholder: string setRichText: (v: RichText) => void onPhotoPasted: (uri: string) => void - onPressPublish: (richtext: RichText) => Promise<void> + onPressPublish: (richtext: RichText) => void onNewLink: (uri: string) => void onError: (err: string) => void } |