Skip to content

Commit

Permalink
Merge pull request #33790 from Expensify/Rory-FixTypes
Browse files Browse the repository at this point in the history
[No QA] Fix types
  • Loading branch information
roryabraham authored Dec 30, 2023
2 parents b6f4f0c + 8e06e63 commit 924bee7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/TextInput/BaseTextInput/types.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from 'react';
import type {Component, ForwardedRef} from 'react';
import type {GestureResponderEvent, StyleProp, TextInputProps, TextStyle, ViewStyle} from 'react-native';
import type {AnimatedProps} from 'react-native-reanimated';
import type {SrcProps} from '@components/Icon';
import type {MaybePhraseKey} from '@libs/Localize';
import IconAsset from '@src/types/utils/IconAsset';

type CustomBaseTextInputProps = {
/** Input label */
Expand All @@ -25,7 +24,7 @@ type CustomBaseTextInputProps = {
errorText?: MaybePhraseKey;

/** Icon to display in right side of text input */
icon: ((props: SrcProps) => React.ReactNode) | null;
icon: IconAsset | null;

/** Customize the TextInput container */
textInputContainerStyles?: StyleProp<ViewStyle>;
Expand Down

0 comments on commit 924bee7

Please sign in to comment.