Skip to content

Commit

Permalink
remove component return type
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Oct 19, 2023
1 parent 55b6607 commit 134318a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/KeyboardAvoidingView/index.ios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import React from 'react';
import {KeyboardAvoidingView as KeyboardAvoidingViewComponent, KeyboardAvoidingViewProps} from 'react-native';

function KeyboardAvoidingView(props: KeyboardAvoidingViewProps): React.ReactNode {
function KeyboardAvoidingView(props: KeyboardAvoidingViewProps) {
// eslint-disable-next-line react/jsx-props-no-spreading
return <KeyboardAvoidingViewComponent {...props} />;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/KeyboardAvoidingView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import React from 'react';
import {KeyboardAvoidingViewProps, View} from 'react-native';

function KeyboardAvoidingView(props: KeyboardAvoidingViewProps): React.ReactNode {
function KeyboardAvoidingView(props: KeyboardAvoidingViewProps) {
const {behavior, contentContainerStyle, enabled, keyboardVerticalOffset, ...rest} = props;
return (
// eslint-disable-next-line react/jsx-props-no-spreading
Expand Down

0 comments on commit 134318a

Please sign in to comment.