Skip to content

Commit

Permalink
rename props import
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Oct 27, 2023
1 parent a727d54 commit 3ccdf03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/KeyboardAvoidingView/index.ios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
*/
import React from 'react';
import {KeyboardAvoidingView as KeyboardAvoidingViewComponent} from 'react-native';
import Props from './types';
import KeyboardAvoidingViewProps from './types';

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

function KeyboardAvoidingView(props: Props) {
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 3ccdf03

Please sign in to comment.