import React from 'react'; import { Feather, } from '@expo/vector-icons'; import { useTheme } from 'styled-components/native'; import { Theme } from '#/ui/theme'; type IconNames = keyof typeof Feather.glyphMap; type Props = { size?: number; color?: keyof Theme['colors']; name: IconNames; } function Icon({ size, color, name, }: Props) { const theme = useTheme(); return ( ) }; export type { IconNames }; export { Icon };