import React, { FC } from 'react' import { View } from 'react-native' import { styled } from '@nbottarini/react-native-styled' import { Icon } from '../../Icon/Icon' import { IconNames } from '../../Icon/IconNames' import { useTheme } from '../../theme/context/ThemeContext' import { Typography } from '../../text/Typography' export const Label: FC = (props) => { const { ds, resolve } = useTheme() return {props.icon && } {props.title && ( {props.title} )} } const Container = styled(View, { flexDirection: 'column', alignItems: 'center', }) interface TabLabelProps { title?: string icon?: IconNames color: string }