expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
44 lines • 985 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Label = Label;
exports.Icon = Icon;
exports.VectorIcon = VectorIcon;
exports.Badge = Badge;
function Label(props) {
return null;
}
/**
* Renders an icon for the tab.
*
* @platform ios
* @platform android
*/
function Icon(props) {
return null;
}
/**
* Helper component which can be used to load vector icons for `NativeTabs`.
*
* @example
* ```tsx
* import { NativeTabs, VectorIcon } from 'expo-router';
* import MaterialCommunityIcons from '@expo/vector-icons/MaterialCommunityIcons';
*
* export default Layout(){
* return (
* <NativeTabs>
* <NativeTabs.Trigger name="index">
* <Icon src={<VectorIcon family={MaterialCommunityIcons} name="home" />} />
* </NativeTabs.Trigger>
* </NativeTabs>
* );
* }
* ```
*/
function VectorIcon(props) {
return null;
}
function Badge(props) {
return null;
}
//# sourceMappingURL=elements.js.map