diff --git a/types/react-native-elements/index.d.ts b/types/react-native-elements/index.d.ts index 3ed093d85f..a880dad13f 100644 --- a/types/react-native-elements/index.d.ts +++ b/types/react-native-elements/index.d.ts @@ -255,11 +255,9 @@ export interface ButtonProps extends TouchableWithoutFeedbackProps { fontWeight?: string; /** - * Moves icon to right of title - * - * @default false + * Icon configuration for icon on right side of title */ - iconRight?: boolean; + iconRight?: ButtonIcon; /** * onPress method diff --git a/types/react-native-elements/react-native-elements-tests.tsx b/types/react-native-elements/react-native-elements-tests.tsx index b6a8ba8c83..29155829b2 100644 --- a/types/react-native-elements/react-native-elements-tests.tsx +++ b/types/react-native-elements/react-native-elements-tests.tsx @@ -222,8 +222,7 @@ class ButtonTest extends React.Component {