Files
create-better-t-stack/apps/cli/templates/frontend/native/components/tabbar-icon.tsx
Aman Varshney 7f441ef670 add orpc
2025-04-17 16:45:33 +05:30

16 lines
387 B
TypeScript

import FontAwesome from '@expo/vector-icons/FontAwesome';
import { StyleSheet } from 'react-native';
export const TabBarIcon = (props: {
name: React.ComponentProps<typeof FontAwesome>['name'];
color: string;
}) => {
return <FontAwesome size={28} style={styles.tabBarIcon} {...props} />;
};
export const styles = StyleSheet.create({
tabBarIcon: {
marginBottom: -3,
},
});