From 4192624f017ee2d29776f21db0c6c4c595cd6b18 Mon Sep 17 00:00:00 2001 From: Hezekiel Tamire Date: Mon, 25 Mar 2024 20:11:59 +0300 Subject: [PATCH] code changes based on review --- src/components/EmojiPicker/EmojiPickerButtonDropdown.tsx | 7 ------- src/components/Form/types.ts | 3 --- 2 files changed, 10 deletions(-) diff --git a/src/components/EmojiPicker/EmojiPickerButtonDropdown.tsx b/src/components/EmojiPicker/EmojiPickerButtonDropdown.tsx index c736d09ceee1..e0f97d63738d 100644 --- a/src/components/EmojiPicker/EmojiPickerButtonDropdown.tsx +++ b/src/components/EmojiPicker/EmojiPickerButtonDropdown.tsx @@ -18,19 +18,12 @@ import CONST from '@src/CONST'; type EmojiPickerButtonDropdownProps = { /** Flag to disable the emoji picker button */ isDisabled?: boolean; - accessibilityLabel?: string; - role?: string; - onModalHide: EmojiPickerAction.OnModalHideValue; - onInputChange: (emoji: string) => void; - value?: string; - disabled?: boolean; - style: StyleProp; }; diff --git a/src/components/Form/types.ts b/src/components/Form/types.ts index 0957e9d67e0e..331f1c943b30 100644 --- a/src/components/Form/types.ts +++ b/src/components/Form/types.ts @@ -27,9 +27,6 @@ import type {BaseForm} from '@src/types/form/Form'; /** * This type specifies all the inputs that can be used with `InputWrapper` component. Make sure to update it * when adding new inputs or removing old ones. - * - * TODO: Add remaining inputs here once these components are migrated to Typescript: - * EmojiPickerButtonDropdown */ type ValidInputs = | typeof TextInput