Send files directly between devices over the internet - no cloud storage, no size limits.
TypeScript cross-platformdata-transferdecentralizedfile-sharingfile-transferhole-punchingopen-sourcep2ppeer-to-peerprivacyprivacy-tools
import { NativeTabs } from 'expo-router/unstable-native-tabs'
import { Ionicons } from '@expo/vector-icons'
import { ThemeType, useTheme } from '@altersend/components'
import { useTranslation } from '@altersend/locales'
export default function TabLayout() {
const { t } = useTranslation(['common'])
const { theme, themeType } = useTheme()
const c = theme.colors
return (
<NativeTabs
tintColor={c.colorInfo}
iconColor={{ default: c.colorTextSecondary, selected: c.colorInfo }}
labelStyle={{
default: { color: c.colorTextSecondary },
selected: { color: c.colorInfo }
}}
indicatorColor={c.colorBackground}
blurEffect={
themeType === ThemeType.Light ? 'systemChromeMaterialLight' : 'systemChromeMaterialDark'
}
backgroundColor={c.colorBackground}
shadowColor={c.colorBorderStrong}
disableTransparentOnScrollEdge
>
<NativeTabs.Trigger name='send/index'>
<NativeTabs.Trigger.Icon
sf='paperplane.fill'
src={<NativeTabs.Trigger.VectorIcon family={Ionicons} name='paper-plane' />}
/>
<NativeTabs.Trigger.Label>{t('common:labels.send')}</NativeTabs.Trigger.Label>
</NativeTabs.Trigger>
<NativeTabs.Trigger name='receive/index'>
<NativeTabs.Trigger.Icon
sf='square.and.arrow.down'
src={<NativeTabs.Trigger.VectorIcon family={Ionicons} name='download' />}
/>
<NativeTabs.Trigger.Label>{t('common:labels.receive')}</NativeTabs.Trigger.Label>
</NativeTabs.Trigger>
</NativeTabs>
)
}