Skip to content

Commit

Permalink
forward ref correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Oct 14, 2024
1 parent 590387d commit 3a67f1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Composer/index.e2e.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type {ForwardedRef} from 'react';
import React from 'react';
import type {TextInput} from 'react-native';
import Composer from './implementation';
import type {ComposerProps} from './types';
Expand All @@ -15,4 +16,4 @@ function ComposerE2e(props: ComposerProps, ref: ForwardedRef<TextInput>) {
);
}

export default ComposerE2e;
export default React.forwardRef(ComposerE2e);

0 comments on commit 3a67f1d

Please sign in to comment.