import { useRef } from 'react'; import Config from 'react-native-config'; import { SafeAreaView } from 'react-native-safe-area-context'; import { AnimatedButton, AnimatedNumber, AppBadge, AppBaseBottomSheet, AppBottomSheetRefHanldes, AppBox, AppButton, AppChip, AppDivider, AppLoader, AppPressable, AppScreen, AppSnackbar, AppStepper, AppSvgImage, AppText, FilterButton, IconButton, LabelValue, SectionLabel, SegmentedButton } from '~/view/components'; import { AppImage } from '~/view/components/images_and_icons/AppImage.tsx'; import { AppProfileImage } from '~/view/components/images_and_icons/AppProfileImage.tsx'; import { AppBottomSheetInput, AppInput, AppSearchInput } from '~/view/components/input'; const { ENV } = Config; export const HomeScreen = () => { const confirmPasswordSheetRef = useRef(null); return ( ENV: {ENV} AnimatedNumber display Large display Medium display Small headline Large headline Medium headline Small title Large title Medium title Small body Large body Medium body Small AnimatedButton AppButton AppPressable AppPressable FilterButton IconButton SegmentedButton AppBadge AppBadge AppSnackbar { AppSnackbar.show('success', 'Success!'); }} /> { AppSnackbar.show('info', 'Info!'); }} /> { AppSnackbar.show('error', 'Error!'); }} /> AppStepper AppImage AppProfileImage AppSvgImage AppChip LabelValue SectionLabel AppBottomSheetInput { confirmPasswordSheetRef.current?.show(); }} /> } androidInputMode="adjustPan" positiveButtonTitle="Save" onPositivePress={console.log} negativeButtonTitle={undefined} /> AppInput AppSearchInput ); };