import * as React from 'react' import { ImageStyle, TextStyle, ViewStyle } from 'react-native' import styled from 'styled-components/native' const Wrapper = styled.View` flex-direction: row; ` const Icon = styled.Image` resize-mode: contain; tint-color: black; margin-right: 3px; ` const Label = styled.Text` flex-wrap: wrap; color: black; font-size: 14px; font-family: 'Poppins-Regular'; ` interface Props { icon?: any, text?: string, size?: number, color?: string, style?: ViewStyle, imgStyle?: ImageStyle, textStyle?: TextStyle } const OIconText = (props: Props) => { return ( {props.icon ? ( ) : null} ) } OIconText.defaultProps = { } export default OIconText