native-pytech 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +30 -0
- package/dist/app/assets/components/removeCircle.d.ts +2 -0
- package/dist/app/assets/components/removeCircle.js +2 -0
- package/dist/app/assets/components/reorderThreeOutline.d.ts +2 -0
- package/dist/app/assets/components/reorderThreeOutline.js +2 -0
- package/dist/app/assets/ionicons.d.ts +2 -0
- package/dist/app/assets/ionicons.js +2 -0
- package/dist/app/components/closeButton.d.ts +2 -0
- package/dist/app/components/closeButton.js +2 -0
- package/dist/app/components/gradient.d.ts +2 -0
- package/dist/app/components/gradient.js +2 -0
- package/dist/app/components/link.d.ts +2 -0
- package/dist/app/components/link.js +2 -0
- package/dist/app/components/text.d.ts +2 -0
- package/dist/app/components/text.js +2 -0
- package/dist/app/components/theme.d.ts +2 -0
- package/dist/app/components/theme.js +2 -0
- package/dist/app/constants/colors.d.ts +2 -0
- package/dist/app/constants/colors.js +2 -0
- package/dist/app/constants/consts.d.ts +1 -0
- package/dist/app/constants/consts.js +1 -0
- package/dist/app/constants/handleFontObserver.d.ts +2 -0
- package/dist/app/constants/handleFontObserver.js +2 -0
- package/dist/app/constants/hooks.d.ts +1 -0
- package/dist/app/constants/hooks.js +1 -0
- package/dist/app/constants/utils.d.ts +1 -0
- package/dist/app/constants/utils.js +1 -0
- package/dist/app/footer.d.ts +2 -0
- package/dist/app/footer.js +2 -0
- package/dist/app/login.d.ts +2 -0
- package/dist/app/login.js +2 -0
- package/dist/app/page.d.ts +2 -0
- package/dist/app/page.js +2 -0
- package/dist/app/providers/app.d.ts +2 -0
- package/dist/app/providers/app.js +2 -0
- package/dist/app/segmentedControl.d.ts +2 -0
- package/dist/app/segmentedControl.js +2 -0
- package/dist/app/sql.d.ts +2 -0
- package/dist/app/sql.js +2 -0
- package/dist/app/supabase.d.ts +2 -0
- package/dist/app/supabase.js +2 -0
- package/dist/app/swiftui.d.ts +1 -0
- package/dist/app/swiftui.js +1 -0
- package/dist/app/table.d.ts +2 -0
- package/dist/app/table.js +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/dist/libs/assets/components/RemoveCircle.d.ts +6 -0
- package/dist/libs/assets/components/RemoveCircle.js +25 -0
- package/dist/libs/assets/components/ReorderThreeOutline.d.ts +5 -0
- package/dist/libs/assets/components/ReorderThreeOutline.js +15 -0
- package/dist/libs/assets/images/android-icon-background-nuevo.png +0 -0
- package/dist/libs/assets/images/android-icon-background.png +0 -0
- package/dist/libs/assets/images/android-icon-foreground-nuevo.png +0 -0
- package/dist/libs/assets/images/android-icon-foreground-nuevo2.png +0 -0
- package/dist/libs/assets/images/android-icon-foreground.png +0 -0
- package/dist/libs/assets/images/android-icon-monochrome.png +0 -0
- package/dist/libs/assets/images/arrow.png +0 -0
- package/dist/libs/assets/images/check.svg +1 -0
- package/dist/libs/assets/images/favicon.ico +0 -0
- package/dist/libs/assets/images/favicon.png +0 -0
- package/dist/libs/assets/images/flecha-hacia-abajo.png +0 -0
- package/dist/libs/assets/images/icon-viejo.png +0 -0
- package/dist/libs/assets/images/icon.png +0 -0
- package/dist/libs/assets/images/icono_tango.svg +1 -0
- package/dist/libs/assets/images/incoming-call.png +0 -0
- package/dist/libs/assets/images/incoming.png +0 -0
- package/dist/libs/assets/images/login.png +0 -0
- package/dist/libs/assets/images/login_apple.svg +28 -0
- package/dist/libs/assets/images/login_letras.svg +41 -0
- package/dist/libs/assets/images/login_letras_dark.svg +41 -0
- package/dist/libs/assets/images/login_sol.svg +59 -0
- package/dist/libs/assets/images/login_transparente.png +0 -0
- package/dist/libs/assets/images/logo_letras.svg +29 -0
- package/dist/libs/assets/images/logo_letras_dark.svg +29 -0
- package/dist/libs/assets/images/partial-react-logo.png +0 -0
- package/dist/libs/assets/images/pencil.png +0 -0
- package/dist/libs/assets/images/react-logo.png +0 -0
- package/dist/libs/assets/images/react-logo@2x.png +0 -0
- package/dist/libs/assets/images/react-logo@3x.png +0 -0
- package/dist/libs/assets/images/remove-circle.svg +4 -0
- package/dist/libs/assets/images/splash-icon.png +0 -0
- package/dist/libs/assets/images/test.svg +22 -0
- package/dist/libs/assets/ionicons/Ionicons.d.ts +35 -0
- package/dist/libs/assets/ionicons/Ionicons.js +16 -0
- package/dist/libs/assets/ionicons/index.d.ts +6 -0
- package/dist/libs/assets/ionicons/index.js +23 -0
- package/dist/libs/components/CloseButton.d.ts +9 -0
- package/dist/libs/components/CloseButton.js +19 -0
- package/dist/libs/components/Gradient/constants.d.ts +80 -0
- package/dist/libs/components/Gradient/constants.js +34 -0
- package/dist/libs/components/Gradient/index.d.ts +21 -0
- package/dist/libs/components/Gradient/index.js +33 -0
- package/dist/libs/components/Link.d.ts +13 -0
- package/dist/libs/components/Link.js +20 -0
- package/dist/libs/components/Text.d.ts +6 -0
- package/dist/libs/components/Text.js +11 -0
- package/dist/libs/components/Theme.d.ts +9 -0
- package/dist/libs/components/Theme.js +10 -0
- package/dist/libs/constants/colors.d.ts +218 -0
- package/dist/libs/constants/colors.js +170 -0
- package/dist/libs/constants/consts.d.ts +13 -0
- package/dist/libs/constants/consts.js +23 -0
- package/dist/libs/constants/handleFontObserver.d.ts +2 -0
- package/dist/libs/constants/handleFontObserver.js +18 -0
- package/dist/libs/constants/hooks.d.ts +5 -0
- package/dist/libs/constants/hooks.js +50 -0
- package/dist/libs/constants/utils.d.ts +10 -0
- package/dist/libs/constants/utils.js +69 -0
- package/dist/libs/footer/index.d.ts +1 -0
- package/dist/libs/footer/index.js +1 -0
- package/dist/libs/footer/src/Background/index.d.ts +4 -0
- package/dist/libs/footer/src/Background/index.ios.d.ts +4 -0
- package/dist/libs/footer/src/Background/index.ios.js +22 -0
- package/dist/libs/footer/src/Background/index.js +21 -0
- package/dist/libs/footer/src/Button/Text.d.ts +3 -0
- package/dist/libs/footer/src/Button/Text.js +18 -0
- package/dist/libs/footer/src/Button/index.d.ts +3 -0
- package/dist/libs/footer/src/Button/index.ios.d.ts +3 -0
- package/dist/libs/footer/src/Button/index.ios.js +52 -0
- package/dist/libs/footer/src/Button/index.js +55 -0
- package/dist/libs/footer/src/Button/types.d.ts +20 -0
- package/dist/libs/footer/src/Button/types.js +1 -0
- package/dist/libs/footer/src/constants.d.ts +20 -0
- package/dist/libs/footer/src/constants.js +21 -0
- package/dist/libs/footer/src/index.d.ts +3 -0
- package/dist/libs/footer/src/index.js +40 -0
- package/dist/libs/footer/src/types.d.ts +9 -0
- package/dist/libs/footer/src/types.js +1 -0
- package/dist/libs/login/index.d.ts +3 -0
- package/dist/libs/login/index.js +3 -0
- package/dist/libs/login/src/Pages/Home/index.d.ts +3 -0
- package/dist/libs/login/src/Pages/Home/index.js +20 -0
- package/dist/libs/login/src/Pages/Home/types.d.ts +19 -0
- package/dist/libs/login/src/Pages/Home/types.js +1 -0
- package/dist/libs/login/src/Pages/Perfil.d.ts +5 -0
- package/dist/libs/login/src/Pages/Perfil.js +19 -0
- package/dist/libs/login/src/Pages/SignIn/Form/Input.d.ts +9 -0
- package/dist/libs/login/src/Pages/SignIn/Form/Input.js +10 -0
- package/dist/libs/login/src/Pages/SignIn/Form/index.d.ts +6 -0
- package/dist/libs/login/src/Pages/SignIn/Form/index.js +34 -0
- package/dist/libs/login/src/Pages/SignIn/index.d.ts +3 -0
- package/dist/libs/login/src/Pages/SignIn/index.js +149 -0
- package/dist/libs/login/src/Pages/SignIn/types.d.ts +31 -0
- package/dist/libs/login/src/Pages/SignIn/types.js +1 -0
- package/dist/libs/login/src/Pages/index.d.ts +3 -0
- package/dist/libs/login/src/Pages/index.js +3 -0
- package/dist/libs/login/src/Pages/utils.d.ts +20 -0
- package/dist/libs/login/src/Pages/utils.js +49 -0
- package/dist/libs/login/src/Screen/Container.d.ts +4 -0
- package/dist/libs/login/src/Screen/Container.ios.d.ts +4 -0
- package/dist/libs/login/src/Screen/Container.ios.js +20 -0
- package/dist/libs/login/src/Screen/Container.js +25 -0
- package/dist/libs/login/src/Screen/components/Gradient.d.ts +6 -0
- package/dist/libs/login/src/Screen/components/Gradient.js +23 -0
- package/dist/libs/login/src/Screen/components/Input/index.d.ts +4 -0
- package/dist/libs/login/src/Screen/components/Input/index.js +128 -0
- package/dist/libs/login/src/Screen/components/Input/types.d.ts +46 -0
- package/dist/libs/login/src/Screen/components/Input/types.js +1 -0
- package/dist/libs/login/src/Screen/components/SvgLogoPytech.d.ts +4 -0
- package/dist/libs/login/src/Screen/components/SvgLogoPytech.js +11 -0
- package/dist/libs/login/src/Screen/components/SvgPytech.d.ts +4 -0
- package/dist/libs/login/src/Screen/components/SvgPytech.js +11 -0
- package/dist/libs/login/src/Screen/components/index.d.ts +4 -0
- package/dist/libs/login/src/Screen/components/index.js +4 -0
- package/dist/libs/login/src/Screen/index.d.ts +4 -0
- package/dist/libs/login/src/Screen/index.js +59 -0
- package/dist/libs/login/src/Screen/types.d.ts +14 -0
- package/dist/libs/login/src/Screen/types.js +1 -0
- package/dist/libs/login/src/constants.d.ts +98 -0
- package/dist/libs/login/src/constants.js +48 -0
- package/dist/libs/page/index.d.ts +1 -0
- package/dist/libs/page/index.js +1 -0
- package/dist/libs/page/src/components/Page/index.android.d.ts +4 -0
- package/dist/libs/page/src/components/Page/index.android.js +11 -0
- package/dist/libs/page/src/components/Page/index.d.ts +4 -0
- package/dist/libs/page/src/components/Page/index.js +7 -0
- package/dist/libs/page/src/components/PageWrapper/index.d.ts +6 -0
- package/dist/libs/page/src/components/PageWrapper/index.js +13 -0
- package/dist/libs/page/src/components/PageWrapper/types.d.ts +16 -0
- package/dist/libs/page/src/components/PageWrapper/types.js +1 -0
- package/dist/libs/page/src/components/Subtitle.d.ts +5 -0
- package/dist/libs/page/src/components/Subtitle.js +9 -0
- package/dist/libs/page/src/components/WithIcon/index.d.ts +3 -0
- package/dist/libs/page/src/components/WithIcon/index.js +47 -0
- package/dist/libs/page/src/components/WithIcon/types.d.ts +15 -0
- package/dist/libs/page/src/components/WithIcon/types.js +1 -0
- package/dist/libs/page/src/constants.d.ts +12 -0
- package/dist/libs/page/src/constants.js +12 -0
- package/dist/libs/providers/App/index.d.ts +10 -0
- package/dist/libs/providers/App/index.js +62 -0
- package/dist/libs/providers/App/types.d.ts +35 -0
- package/dist/libs/providers/App/types.js +1 -0
- package/dist/libs/providers/constants.d.ts +10 -0
- package/dist/libs/providers/constants.js +10 -0
- package/dist/libs/segmentedControl/index.d.ts +2 -0
- package/dist/libs/segmentedControl/index.js +2 -0
- package/dist/libs/segmentedControl/src/colors.d.ts +15 -0
- package/dist/libs/segmentedControl/src/colors.js +16 -0
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.js +79 -0
- package/dist/libs/segmentedControl/src/components/AnimatedChip/types.d.ts +28 -0
- package/dist/libs/segmentedControl/src/components/AnimatedChip/types.js +1 -0
- package/dist/libs/segmentedControl/src/components/Container/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Container/index.ios.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Container/index.ios.js +15 -0
- package/dist/libs/segmentedControl/src/components/Container/index.js +18 -0
- package/dist/libs/segmentedControl/src/components/Container/types.d.ts +16 -0
- package/dist/libs/segmentedControl/src/components/Container/types.js +1 -0
- package/dist/libs/segmentedControl/src/components/Item/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Item/index.js +26 -0
- package/dist/libs/segmentedControl/src/components/Item/types.d.ts +20 -0
- package/dist/libs/segmentedControl/src/components/Item/types.js +1 -0
- package/dist/libs/segmentedControl/src/components/Segmented/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Segmented/index.js +93 -0
- package/dist/libs/segmentedControl/src/components/Segmented/types.d.ts +12 -0
- package/dist/libs/segmentedControl/src/components/Segmented/types.js +1 -0
- package/dist/libs/segmentedControl/src/components/Wrapper/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Wrapper/index.js +21 -0
- package/dist/libs/segmentedControl/src/components/Wrapper/types.d.ts +38 -0
- package/dist/libs/segmentedControl/src/components/Wrapper/types.js +1 -0
- package/dist/libs/segmentedControl/src/context/shared.d.ts +11 -0
- package/dist/libs/segmentedControl/src/context/shared.js +13 -0
- package/dist/libs/segmentedControl/src/utils.d.ts +10 -0
- package/dist/libs/segmentedControl/src/utils.js +29 -0
- package/dist/libs/sql/index.d.ts +4 -0
- package/dist/libs/sql/index.js +4 -0
- package/dist/libs/sql/src/init.d.ts +24 -0
- package/dist/libs/sql/src/init.js +31 -0
- package/dist/libs/sql/src/queryLocal.d.ts +6 -0
- package/dist/libs/sql/src/queryLocal.js +15 -0
- package/dist/libs/sql/src/utils.d.ts +11 -0
- package/dist/libs/sql/src/utils.js +56 -0
- package/dist/libs/supabase/index.d.ts +4 -0
- package/dist/libs/supabase/index.js +2 -0
- package/dist/libs/supabase/src/clients/admin/config.d.ts +2 -0
- package/dist/libs/supabase/src/clients/admin/config.js +18 -0
- package/dist/libs/supabase/src/clients/admin/index.d.ts +8 -0
- package/dist/libs/supabase/src/clients/admin/index.js +7 -0
- package/dist/libs/supabase/src/clients/admin/utils.d.ts +4 -0
- package/dist/libs/supabase/src/clients/admin/utils.js +5 -0
- package/dist/libs/supabase/src/clients/app/config.d.ts +3 -0
- package/dist/libs/supabase/src/clients/app/config.js +30 -0
- package/dist/libs/supabase/src/clients/app/index.d.ts +15 -0
- package/dist/libs/supabase/src/clients/app/index.js +7 -0
- package/dist/libs/supabase/src/clients/app/utils.d.ts +11 -0
- package/dist/libs/supabase/src/clients/app/utils.js +9 -0
- package/dist/libs/supabase/src/utils/index.d.ts +18 -0
- package/dist/libs/supabase/src/utils/index.js +21 -0
- package/dist/libs/supabase/src/utils/types.d.ts +20 -0
- package/dist/libs/supabase/src/utils/types.js +1 -0
- package/dist/libs/swiftui/index.d.ts +7 -0
- package/dist/libs/swiftui/index.js +7 -0
- package/dist/libs/swiftui/src/Icon.d.ts +10 -0
- package/dist/libs/swiftui/src/Icon.js +8 -0
- package/dist/libs/swiftui/src/IconSection/Icon.d.ts +27 -0
- package/dist/libs/swiftui/src/IconSection/Icon.js +31 -0
- package/dist/libs/swiftui/src/IconSection/Section.d.ts +7 -0
- package/dist/libs/swiftui/src/IconSection/Section.js +16 -0
- package/dist/libs/swiftui/src/IconSection/index.d.ts +7 -0
- package/dist/libs/swiftui/src/IconSection/index.js +5 -0
- package/dist/libs/swiftui/src/List/Editable/index.d.ts +5 -0
- package/dist/libs/swiftui/src/List/Editable/index.js +51 -0
- package/dist/libs/swiftui/src/List/Editable/types.d.ts +76 -0
- package/dist/libs/swiftui/src/List/Editable/types.js +1 -0
- package/dist/libs/swiftui/src/List/index.d.ts +16 -0
- package/dist/libs/swiftui/src/List/index.js +21 -0
- package/dist/libs/swiftui/src/NavigationLink/Trailing.d.ts +4 -0
- package/dist/libs/swiftui/src/NavigationLink/Trailing.js +14 -0
- package/dist/libs/swiftui/src/NavigationLink/index.d.ts +4 -0
- package/dist/libs/swiftui/src/NavigationLink/index.js +20 -0
- package/dist/libs/swiftui/src/NavigationLink/types.d.ts +27 -0
- package/dist/libs/swiftui/src/NavigationLink/types.js +1 -0
- package/dist/libs/swiftui/src/Picker.d.ts +11 -0
- package/dist/libs/swiftui/src/Picker.js +11 -0
- package/dist/libs/swiftui/src/Text.d.ts +6 -0
- package/dist/libs/swiftui/src/Text.js +7 -0
- package/dist/libs/swiftui/src/TextSubtitle.d.ts +22 -0
- package/dist/libs/swiftui/src/TextSubtitle.js +9 -0
- package/dist/libs/table/index.d.ts +5 -0
- package/dist/libs/table/index.js +5 -0
- package/dist/libs/table/src/components/Borders.d.ts +6 -0
- package/dist/libs/table/src/components/Borders.js +83 -0
- package/dist/libs/table/src/components/Delete/index.d.ts +4 -0
- package/dist/libs/table/src/components/Delete/index.js +141 -0
- package/dist/libs/table/src/components/Delete/types.d.ts +27 -0
- package/dist/libs/table/src/components/Delete/types.js +1 -0
- package/dist/libs/table/src/components/Detail.d.ts +4 -0
- package/dist/libs/table/src/components/Detail.js +11 -0
- package/dist/libs/table/src/components/Option/index.d.ts +6 -0
- package/dist/libs/table/src/components/Option/index.js +106 -0
- package/dist/libs/table/src/components/Option/types.d.ts +61 -0
- package/dist/libs/table/src/components/Option/types.js +1 -0
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.d.ts +6 -0
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +14 -0
- package/dist/libs/table/src/components/OptionComponents/dragIcon.d.ts +6 -0
- package/dist/libs/table/src/components/OptionComponents/dragIcon.js +18 -0
- package/dist/libs/table/src/components/OptionComponents/icon.d.ts +10 -0
- package/dist/libs/table/src/components/OptionComponents/icon.js +12 -0
- package/dist/libs/table/src/components/OptionComponents/image.d.ts +9 -0
- package/dist/libs/table/src/components/OptionComponents/image.js +12 -0
- package/dist/libs/table/src/components/OptionComponents/index.d.ts +8 -0
- package/dist/libs/table/src/components/OptionComponents/index.js +8 -0
- package/dist/libs/table/src/components/OptionComponents/text.d.ts +16 -0
- package/dist/libs/table/src/components/OptionComponents/text.js +20 -0
- package/dist/libs/table/src/components/OptionComponents/textInput.d.ts +25 -0
- package/dist/libs/table/src/components/OptionComponents/textInput.js +49 -0
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.d.ts +9 -0
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.js +17 -0
- package/dist/libs/table/src/components/OptionComponents/textView.d.ts +14 -0
- package/dist/libs/table/src/components/OptionComponents/textView.js +18 -0
- package/dist/libs/table/src/components/OptionWrapper/index.d.ts +3 -0
- package/dist/libs/table/src/components/OptionWrapper/index.js +9 -0
- package/dist/libs/table/src/components/OptionWrapper/types.d.ts +35 -0
- package/dist/libs/table/src/components/OptionWrapper/types.js +1 -0
- package/dist/libs/table/src/components/Table/index.d.ts +3 -0
- package/dist/libs/table/src/components/Table/index.js +90 -0
- package/dist/libs/table/src/components/Table/types.d.ts +70 -0
- package/dist/libs/table/src/components/Table/types.js +1 -0
- package/dist/libs/table/src/components/Wrapper.d.ts +4 -0
- package/dist/libs/table/src/components/Wrapper.js +49 -0
- package/dist/libs/table/src/constants.d.ts +108 -0
- package/dist/libs/table/src/constants.js +107 -0
- package/dist/libs/table/src/context/borders.d.ts +10 -0
- package/dist/libs/table/src/context/borders.js +11 -0
- package/dist/libs/table/src/context/delete.d.ts +1 -0
- package/dist/libs/table/src/context/delete.js +2 -0
- package/dist/libs/table/src/context/table.d.ts +21 -0
- package/dist/libs/table/src/context/table.js +4 -0
- package/package.json +73 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
|
+
import WithIcon from '../WithIcon';
|
|
3
|
+
import Page from '../Page';
|
|
4
|
+
/**
|
|
5
|
+
Crea una Página con ScrollView.
|
|
6
|
+
*/
|
|
7
|
+
const PageComponent = memo(({ children, style }) => {
|
|
8
|
+
return (<Page style={style}>
|
|
9
|
+
{children}
|
|
10
|
+
</Page>);
|
|
11
|
+
});
|
|
12
|
+
PageComponent.WithIcon = WithIcon;
|
|
13
|
+
export default PageComponent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StyleProp, ViewStyle } from "react-native";
|
|
2
|
+
import WithIcon from "../WithIcon";
|
|
3
|
+
type Props = {
|
|
4
|
+
/**
|
|
5
|
+
Children
|
|
6
|
+
*/
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
contentContainerStyle de la ScrollView.
|
|
10
|
+
*/
|
|
11
|
+
style?: StyleProp<ViewStyle>;
|
|
12
|
+
};
|
|
13
|
+
export type Component = React.MemoExoticComponent<React.FC<Props>> & {
|
|
14
|
+
WithIcon: typeof WithIcon;
|
|
15
|
+
};
|
|
16
|
+
export default Props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { memo } from "react";
|
|
2
|
+
import { Text } from "react-native";
|
|
3
|
+
import colors from "../constants";
|
|
4
|
+
import { useApp } from "../../../../libs/providers/App";
|
|
5
|
+
export default memo(({ text }) => {
|
|
6
|
+
const { colorScheme } = useApp();
|
|
7
|
+
const Theme = colors[colorScheme];
|
|
8
|
+
return <Text style={{ color: Theme.text2, fontSize: 22 }}>{text}</Text>;
|
|
9
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
|
+
import { StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import { useApp } from "../../../../../libs/providers/App";
|
|
4
|
+
import colors from '../../constants';
|
|
5
|
+
import PageWrapper from '../PageWrapper';
|
|
6
|
+
import Subtitle from '../Subtitle';
|
|
7
|
+
const WithIcon = memo(({ children, renderIcon, style, title, subtitle, renderSubtitle }) => {
|
|
8
|
+
const { colorScheme } = useApp();
|
|
9
|
+
const Theme = colors[colorScheme];
|
|
10
|
+
return (<PageWrapper style={style}>
|
|
11
|
+
{renderIcon &&
|
|
12
|
+
<View style={styles.viewIcon}>
|
|
13
|
+
{renderIcon()}
|
|
14
|
+
</View>}
|
|
15
|
+
{(title || renderSubtitle) && (<View style={styles.viewTitle}>
|
|
16
|
+
{title && <Text style={[styles.title, { color: Theme.text }]}>{title}</Text>}
|
|
17
|
+
{subtitle && <Text style={[styles.subtitle, { color: Theme.text2 }]}>{subtitle}</Text>}
|
|
18
|
+
{renderSubtitle?.()}
|
|
19
|
+
</View>)}
|
|
20
|
+
{children}
|
|
21
|
+
</PageWrapper>);
|
|
22
|
+
});
|
|
23
|
+
WithIcon.Subtitle = Subtitle;
|
|
24
|
+
export default WithIcon;
|
|
25
|
+
const styles = StyleSheet.create({
|
|
26
|
+
viewIcon: {
|
|
27
|
+
flex: 1,
|
|
28
|
+
justifyContent: 'center',
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
height: 83,
|
|
31
|
+
marginTop: 22,
|
|
32
|
+
marginBottom: 39.5,
|
|
33
|
+
},
|
|
34
|
+
viewTitle: {
|
|
35
|
+
gap: 1,
|
|
36
|
+
marginHorizontal: 38,
|
|
37
|
+
marginBottom: 30,
|
|
38
|
+
flex: 1,
|
|
39
|
+
},
|
|
40
|
+
title: {
|
|
41
|
+
fontSize: 22,
|
|
42
|
+
fontWeight: '700',
|
|
43
|
+
},
|
|
44
|
+
subtitle: {
|
|
45
|
+
fontSize: 22,
|
|
46
|
+
}
|
|
47
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Subtitle from '../Subtitle';
|
|
3
|
+
import PropsPageWrapper from '../PageWrapper/types';
|
|
4
|
+
type Props = {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
renderIcon?: () => React.ReactNode;
|
|
7
|
+
style?: PropsPageWrapper['style'];
|
|
8
|
+
title?: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
renderSubtitle?: () => React.ReactElement<typeof Subtitle>;
|
|
11
|
+
};
|
|
12
|
+
export type Component = React.MemoExoticComponent<React.FC<Props>> & {
|
|
13
|
+
Subtitle: typeof Subtitle;
|
|
14
|
+
};
|
|
15
|
+
export default Props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import colorsLib from "../../../libs/constants/colors";
|
|
2
|
+
export const colors = {
|
|
3
|
+
light: {
|
|
4
|
+
text: colorsLib.light.text,
|
|
5
|
+
text2: colorsLib.light.text2Libretas
|
|
6
|
+
},
|
|
7
|
+
dark: {
|
|
8
|
+
text: colorsLib.dark.text,
|
|
9
|
+
text2: colorsLib.dark.text2Libretas
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
export default colors;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ColorSchemeType } from "../constants";
|
|
3
|
+
import type Props from './types';
|
|
4
|
+
declare const useApp: () => {
|
|
5
|
+
colorScheme: ColorSchemeType;
|
|
6
|
+
fontScale: number;
|
|
7
|
+
};
|
|
8
|
+
export { useApp };
|
|
9
|
+
declare const _default: React.MemoExoticComponent<({ listStackNames, getBackgroundColor, getSession, renderItemLoading, onLoadingRealsed, }: Props) => React.JSX.Element>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React, { memo, useMemo, useState, useRef } from "react";
|
|
2
|
+
import { Stack, useRouter } from "expo-router";
|
|
3
|
+
import { useColorScheme, useWindowDimensions, View, StyleSheet } from "react-native";
|
|
4
|
+
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
5
|
+
import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native';
|
|
6
|
+
import handleFontObserver from '../../../libs/constants/handleFontObserver';
|
|
7
|
+
handleFontObserver(); // esto intercepta todos los timeouts de fuentes
|
|
8
|
+
import { createCtx } from "../../../libs/constants/utils";
|
|
9
|
+
import LoginSvg from '../../assets/images/login_letras.svg';
|
|
10
|
+
import LoginSvgDark from '../../assets/images/login_letras_dark.svg';
|
|
11
|
+
import { useAsyncEffect, useEffectWithoutFirstRender } from '../../../libs/constants/hooks';
|
|
12
|
+
import colors from "../constants";
|
|
13
|
+
const [Provider, useApp] = createCtx();
|
|
14
|
+
export { useApp };
|
|
15
|
+
export default memo(({ listStackNames = [], getBackgroundColor, getSession, renderItemLoading = ({ colorScheme }) => (colorScheme === 'dark' ?
|
|
16
|
+
<LoginSvgDark width={200} height={200}/>
|
|
17
|
+
:
|
|
18
|
+
<LoginSvg width={200} height={200}/>), onLoadingRealsed, }) => {
|
|
19
|
+
// -------------- Variables --------------
|
|
20
|
+
const colorScheme = useColorScheme();
|
|
21
|
+
const Theme = colors[colorScheme];
|
|
22
|
+
const { fontScale } = useWindowDimensions();
|
|
23
|
+
const router = useRouter();
|
|
24
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
25
|
+
const hasSessionRef = useRef(false);
|
|
26
|
+
// -------------- Effects --------------
|
|
27
|
+
useEffectWithoutFirstRender(() => {
|
|
28
|
+
if (!isLoading)
|
|
29
|
+
onLoadingRealsed?.({ router, hasSession: hasSessionRef.current });
|
|
30
|
+
}, [isLoading]);
|
|
31
|
+
useAsyncEffect(async (isMounted) => {
|
|
32
|
+
hasSessionRef.current = (await getSession?.()) ?? true;
|
|
33
|
+
if (!isMounted)
|
|
34
|
+
return;
|
|
35
|
+
setIsLoading(false);
|
|
36
|
+
}, []);
|
|
37
|
+
// -------------- Return --------------
|
|
38
|
+
const value = useMemo(() => ({ colorScheme: colorScheme, fontScale: fontScale }), [colorScheme, fontScale]);
|
|
39
|
+
if (isLoading) {
|
|
40
|
+
return (<View style={[styles.container, { backgroundColor: getBackgroundColor?.({ colorScheme }) || Theme.backgroundColor }]}>
|
|
41
|
+
{renderItemLoading({ colorScheme })}
|
|
42
|
+
</View>);
|
|
43
|
+
}
|
|
44
|
+
return (<SafeAreaProvider>
|
|
45
|
+
<Provider value={value}>
|
|
46
|
+
<ThemeProvider value={colorScheme === 'dark' ? DarkTheme : DefaultTheme}>
|
|
47
|
+
|
|
48
|
+
<Stack screenOptions={{ headerShown: false }}>
|
|
49
|
+
{listStackNames?.map((name) => (<Stack.Screen key={name} name={name}/>))}
|
|
50
|
+
</Stack>
|
|
51
|
+
|
|
52
|
+
</ThemeProvider>
|
|
53
|
+
</Provider>
|
|
54
|
+
</SafeAreaProvider>);
|
|
55
|
+
});
|
|
56
|
+
const styles = StyleSheet.create({
|
|
57
|
+
container: {
|
|
58
|
+
flex: 1,
|
|
59
|
+
alignItems: 'center',
|
|
60
|
+
justifyContent: 'center',
|
|
61
|
+
}
|
|
62
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ColorSchemeType } from "../../../libs/constants/colors";
|
|
2
|
+
import { Router } from "expo-router";
|
|
3
|
+
type Props = {
|
|
4
|
+
/**
|
|
5
|
+
Lista de nombres de los Stacks que se deben renderizar.
|
|
6
|
+
*/
|
|
7
|
+
listStackNames?: string[];
|
|
8
|
+
/**
|
|
9
|
+
Función para obtener el color de fondo de las paginas por defecto.
|
|
10
|
+
*/
|
|
11
|
+
getBackgroundColor?: ({ colorScheme }: {
|
|
12
|
+
colorScheme: ColorSchemeType;
|
|
13
|
+
}) => string;
|
|
14
|
+
/**
|
|
15
|
+
Función para inicializar la sesión.
|
|
16
|
+
@default true
|
|
17
|
+
*/
|
|
18
|
+
getSession?: () => Promise<boolean>;
|
|
19
|
+
/**
|
|
20
|
+
Función para renderizar el item cuando está cargando.
|
|
21
|
+
@default LoginSvg (white | black)
|
|
22
|
+
*/
|
|
23
|
+
renderItemLoading?: ({ colorScheme }: {
|
|
24
|
+
colorScheme: ColorSchemeType;
|
|
25
|
+
}) => React.ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
Función para ejecutar cuando se realice el cambio de estado de loading a false.
|
|
28
|
+
Se utiliza para redirigir a la página de inicio.
|
|
29
|
+
*/
|
|
30
|
+
onLoadingRealsed?: ({ router, hasSession }: {
|
|
31
|
+
router: Router;
|
|
32
|
+
hasSession: boolean;
|
|
33
|
+
}) => void;
|
|
34
|
+
};
|
|
35
|
+
export default Props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import colorsLib from "../../../libs/constants/colors";
|
|
2
|
+
export const colors = {
|
|
3
|
+
light: {
|
|
4
|
+
text: colorsLib.light.text,
|
|
5
|
+
text2: colorsLib.light.text2Libretas,
|
|
6
|
+
background: colorsLib.light.backgroundColor,
|
|
7
|
+
chip: 'hsl(0, 0%, 93%)',
|
|
8
|
+
},
|
|
9
|
+
dark: {
|
|
10
|
+
text: colorsLib.dark.text,
|
|
11
|
+
text2: colorsLib.dark.text2Libretas,
|
|
12
|
+
background: colorsLib.dark.backgroundColor2,
|
|
13
|
+
chip: 'hsl(0, 0%, 23%)',
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
export default colors;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
|
+
import { View, StyleSheet } from 'react-native';
|
|
3
|
+
import Animated, { interpolate, useAnimatedStyle, useDerivedValue, useAnimatedReaction } from 'react-native-reanimated';
|
|
4
|
+
import { scheduleOnRN } from 'react-native-worklets';
|
|
5
|
+
import { useApp } from '../../../../../libs/providers/App';
|
|
6
|
+
import { useShared } from '../../context/shared';
|
|
7
|
+
import colors from '../../colors';
|
|
8
|
+
export default memo(({ isScrollable, onFinishedSelectedIndex, onChangeEqualWidths, widthsShared, widthContainerShared }) => {
|
|
9
|
+
// ---------------- Variables ----------------
|
|
10
|
+
const { colorScheme } = useApp();
|
|
11
|
+
const Theme = colors[colorScheme];
|
|
12
|
+
const { selectedIndexShared } = useShared();
|
|
13
|
+
// ---------------- useDerivedValue ----------------
|
|
14
|
+
const equalWidthsShared = useDerivedValue(() => {
|
|
15
|
+
if (!isScrollable)
|
|
16
|
+
return true;
|
|
17
|
+
const widthContainer = widthContainerShared.value;
|
|
18
|
+
const widths = widthsShared.value;
|
|
19
|
+
const sumWidths = widths.reduce((acc, width) => acc + width, 0);
|
|
20
|
+
return sumWidths <= widthContainer;
|
|
21
|
+
});
|
|
22
|
+
const idxInferiorShared = useDerivedValue(() => Math.floor(selectedIndexShared.value));
|
|
23
|
+
const idxSuperiorShared = useDerivedValue(() => Math.ceil(selectedIndexShared.value));
|
|
24
|
+
const leftChipShared = useDerivedValue(() => {
|
|
25
|
+
const widths = widthsShared.value;
|
|
26
|
+
const inferior = idxInferiorShared.value;
|
|
27
|
+
const superior = idxSuperiorShared.value;
|
|
28
|
+
// Los widths son iguales
|
|
29
|
+
if (equalWidthsShared.value) {
|
|
30
|
+
const width = widthContainerShared.value / widths.length;
|
|
31
|
+
const newLeft = interpolate(selectedIndexShared.value, [inferior, superior], [inferior * width, superior * width]);
|
|
32
|
+
return newLeft;
|
|
33
|
+
}
|
|
34
|
+
// Varian los widths
|
|
35
|
+
const leftInferior = widths.slice(0, inferior).reduce((acc, width) => acc + (width || 0), 0);
|
|
36
|
+
const leftSuperior = widths.slice(0, superior).reduce((acc, width) => acc + (width || 0), 0);
|
|
37
|
+
const newLeft = interpolate(selectedIndexShared.value, [inferior, superior], [leftInferior, leftSuperior]);
|
|
38
|
+
return newLeft;
|
|
39
|
+
});
|
|
40
|
+
const widthChipShared = useDerivedValue(() => {
|
|
41
|
+
const widths = widthsShared.value;
|
|
42
|
+
if (equalWidthsShared.value)
|
|
43
|
+
return widthContainerShared.value / widths.length;
|
|
44
|
+
const inferior = idxInferiorShared.value;
|
|
45
|
+
const superior = idxSuperiorShared.value;
|
|
46
|
+
const widthInferior = widths[inferior] || 0;
|
|
47
|
+
const widthSuperior = widths[superior] || 0;
|
|
48
|
+
const newWidth = interpolate(selectedIndexShared.value, [inferior, superior], [widthInferior, widthSuperior]);
|
|
49
|
+
return newWidth;
|
|
50
|
+
});
|
|
51
|
+
// ---------------- useAnimatedReaction ----------------
|
|
52
|
+
useAnimatedReaction(() => selectedIndexShared.value, (value, prev) => {
|
|
53
|
+
if (prev === value)
|
|
54
|
+
return;
|
|
55
|
+
const hasFinished = Number.isInteger(value);
|
|
56
|
+
if (hasFinished && onFinishedSelectedIndex)
|
|
57
|
+
scheduleOnRN(onFinishedSelectedIndex, value);
|
|
58
|
+
});
|
|
59
|
+
useAnimatedReaction(() => equalWidthsShared.value, (value) => {
|
|
60
|
+
onChangeEqualWidths && scheduleOnRN(onChangeEqualWidths, value);
|
|
61
|
+
});
|
|
62
|
+
// ---------------- useAnimatedStyle ----------------
|
|
63
|
+
const animatedStyle = useAnimatedStyle(() => {
|
|
64
|
+
return { width: widthChipShared.value, left: leftChipShared.value };
|
|
65
|
+
});
|
|
66
|
+
return (<Animated.View style={[styles.container, animatedStyle]}>
|
|
67
|
+
<View style={[styles.chip, { backgroundColor: Theme.chip }]}/>
|
|
68
|
+
</Animated.View>);
|
|
69
|
+
});
|
|
70
|
+
const styles = StyleSheet.create({
|
|
71
|
+
container: {
|
|
72
|
+
position: 'absolute',
|
|
73
|
+
height: '100%',
|
|
74
|
+
},
|
|
75
|
+
chip: {
|
|
76
|
+
flex: 1,
|
|
77
|
+
borderRadius: 999,
|
|
78
|
+
},
|
|
79
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
+
type Props = {
|
|
3
|
+
/**
|
|
4
|
+
Para ver el ancho del chip.
|
|
5
|
+
*/
|
|
6
|
+
isScrollable: boolean;
|
|
7
|
+
/**
|
|
8
|
+
Se ejecuta cuando el index seleccionado ha terminado de animar (selectedIndexShared).
|
|
9
|
+
Está dentro de un useAnimatedReaction. Se ejecuta con scheduleOnRN.
|
|
10
|
+
*/
|
|
11
|
+
onFinishedSelectedIndex?: (index: number) => void;
|
|
12
|
+
/**
|
|
13
|
+
Se ejecuta cuando cambia el valor de equalWidthsShared.
|
|
14
|
+
Está dentro de un useAnimatedReaction. Se ejecuta con scheduleOnRN.
|
|
15
|
+
*/
|
|
16
|
+
onChangeEqualWidths?: (equalWidths: boolean) => void;
|
|
17
|
+
/**
|
|
18
|
+
Usado en el cálculo de equalWidthsShared, leftChipShared, widthChipShared.
|
|
19
|
+
Se utiliza dentro de useDerivedValue.
|
|
20
|
+
*/
|
|
21
|
+
widthsShared: SharedValue<number[]>;
|
|
22
|
+
/**
|
|
23
|
+
Usado en el cálculo de equalWidthsShared, leftChipShared, widthChipShared.
|
|
24
|
+
Se utiliza dentro de useDerivedValue.
|
|
25
|
+
*/
|
|
26
|
+
widthContainerShared: SharedValue<number>;
|
|
27
|
+
};
|
|
28
|
+
export default Props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { GlassView } from "expo-glass-effect";
|
|
2
|
+
import React, { memo } from "react";
|
|
3
|
+
import { StyleSheet } from "react-native";
|
|
4
|
+
export default memo(({ children, onLayout, style }) => {
|
|
5
|
+
return (<GlassView glassEffectStyle={'clear'} style={[styles.container, style]} onLayout={onLayout}>
|
|
6
|
+
{children}
|
|
7
|
+
</GlassView>);
|
|
8
|
+
});
|
|
9
|
+
const styles = StyleSheet.create({
|
|
10
|
+
container: {
|
|
11
|
+
borderRadius: 999,
|
|
12
|
+
minHeight: 32,
|
|
13
|
+
overflow: 'hidden',
|
|
14
|
+
}
|
|
15
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { memo } from "react";
|
|
2
|
+
import { View, StyleSheet } from "react-native";
|
|
3
|
+
import { useApp } from "../../../../../libs/providers/App";
|
|
4
|
+
import colors from "../../colors";
|
|
5
|
+
export default memo(({ children, onLayout, style }) => {
|
|
6
|
+
const { colorScheme } = useApp();
|
|
7
|
+
const Theme = colors[colorScheme];
|
|
8
|
+
return (<View style={[styles.container, { backgroundColor: Theme.background }, style]} onLayout={onLayout}>
|
|
9
|
+
{children}
|
|
10
|
+
</View>);
|
|
11
|
+
});
|
|
12
|
+
const styles = StyleSheet.create({
|
|
13
|
+
container: {
|
|
14
|
+
borderRadius: 999,
|
|
15
|
+
minHeight: 32,
|
|
16
|
+
overflow: 'hidden',
|
|
17
|
+
}
|
|
18
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LayoutChangeEvent, StyleProp, ViewStyle } from "react-native";
|
|
2
|
+
type Props = {
|
|
3
|
+
/**
|
|
4
|
+
Children del componente.
|
|
5
|
+
*/
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
Función para obtener el ancho del contenedor.
|
|
9
|
+
*/
|
|
10
|
+
onLayout: (event: LayoutChangeEvent) => void;
|
|
11
|
+
/**
|
|
12
|
+
Style del contenedor.
|
|
13
|
+
*/
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
};
|
|
16
|
+
export default Props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { memo } from "react";
|
|
2
|
+
import { Pressable, StyleSheet, Text } from "react-native";
|
|
3
|
+
import { useApp } from "../../../../../libs/providers/App";
|
|
4
|
+
import colors from "../../colors";
|
|
5
|
+
export default memo(({ text, onPress, onLayout, textStyle, }) => {
|
|
6
|
+
const { colorScheme } = useApp();
|
|
7
|
+
const Theme = colors[colorScheme];
|
|
8
|
+
return (<Pressable style={styles.pressable} onPress={onPress} onLayout={onLayout}>
|
|
9
|
+
<Text numberOfLines={1} style={[styles.text, { color: Theme.text }, textStyle]}>
|
|
10
|
+
{text}
|
|
11
|
+
</Text>
|
|
12
|
+
</Pressable>);
|
|
13
|
+
});
|
|
14
|
+
const styles = StyleSheet.create({
|
|
15
|
+
pressable: {
|
|
16
|
+
flex: 1,
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
justifyContent: 'center',
|
|
19
|
+
paddingHorizontal: 15,
|
|
20
|
+
overflow: 'hidden',
|
|
21
|
+
},
|
|
22
|
+
text: {
|
|
23
|
+
fontSize: 13,
|
|
24
|
+
fontWeight: '600',
|
|
25
|
+
}
|
|
26
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LayoutChangeEvent, StyleProp, TextStyle } from "react-native";
|
|
2
|
+
type Props = {
|
|
3
|
+
/**
|
|
4
|
+
Texto del item.
|
|
5
|
+
*/
|
|
6
|
+
text: string;
|
|
7
|
+
/**
|
|
8
|
+
onPress del Pressable.
|
|
9
|
+
*/
|
|
10
|
+
onPress: () => void;
|
|
11
|
+
/**
|
|
12
|
+
onLayout del Pressable.
|
|
13
|
+
*/
|
|
14
|
+
onLayout: (event: LayoutChangeEvent) => void;
|
|
15
|
+
/**
|
|
16
|
+
style del texto.
|
|
17
|
+
*/
|
|
18
|
+
textStyle?: StyleProp<TextStyle>;
|
|
19
|
+
};
|
|
20
|
+
export default Props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Props from './types';
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ data, selectedIndex, setCurrentSelectedIndex, isScrollable, style, contentContainerStyle, ...itemProps }: Props) => React.JSX.Element>;
|
|
4
|
+
export default _default;
|