mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
16 lines
387 B
TypeScript
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,
|
|
},
|
|
});
|