Files
create-better-t-stack/apps/cli/templates/frontend/native/nativewind/components/tabbar-icon.tsx
Aman Varshney 6c269a4c5b add unistyles
2025-05-07 18:12:04 +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,
},
});