diff --git a/src/components/Composer/index.e2e.tsx b/src/components/Composer/index.e2e.tsx index f28f13fe0ecf..c56685df239f 100644 --- a/src/components/Composer/index.e2e.tsx +++ b/src/components/Composer/index.e2e.tsx @@ -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'; @@ -15,4 +16,4 @@ function ComposerE2e(props: ComposerProps, ref: ForwardedRef) { ); } -export default ComposerE2e; +export default React.forwardRef(ComposerE2e);