From b523ccf862cb0ac25f18279c3d67fb2aae4bf7e1 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Fri, 22 Nov 2024 10:45:36 +0100 Subject: [PATCH] fix(web): reexport missing component (#2535) ## Description Recently `FooterComponent` was introduced for internal reasons, however it hasn't been exported on web leading to issues. > [!caution] > We need to set up CI for web... Fixes #2534 ## Changes `FooterComponent` is now exported from `ScreenFooter.web.tsx` ## Test code and steps to reproduce ??? We do not have a web example - we need to add it. ## Checklist - [ ] Included code example that can be used to test this change - [ ] Updated TS types - [ ] Updated documentation: - [ ] https://github.com/software-mansion/react-native-screens/blob/main/guides/GUIDE_FOR_LIBRARY_AUTHORS.md - [ ] https://github.com/software-mansion/react-native-screens/blob/main/native-stack/README.md - [ ] https://github.com/software-mansion/react-native-screens/blob/main/src/types.tsx - [ ] https://github.com/software-mansion/react-native-screens/blob/main/src/native-stack/types.tsx - [ ] Ensured that CI passes --- src/components/ScreenFooter.web.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ScreenFooter.web.tsx b/src/components/ScreenFooter.web.tsx index 33030a09ba..14d935da91 100644 --- a/src/components/ScreenFooter.web.tsx +++ b/src/components/ScreenFooter.web.tsx @@ -1,5 +1,7 @@ import { View } from 'react-native'; const ScreenFooter = View; +const FooterComponent = View; export default ScreenFooter; +export { FooterComponent };