import * as React from 'react' import { ImageStyle } from 'react-native' import styled from 'styled-components/native' import { useTheme } from 'styled-components/native' const Wrapper = styled.View`` const SImage = styled.Image` tint-color: ${(props: any) => props.theme.colors.primary}; ` interface Props { src?: any, url?: string, dummy?: any, color?: string, width?: number, height?: number, style?: ImageStyle, isWrap?: boolean, cover?: boolean, children?: any, borderRadius?: number, } const OImage = (props: Props): React.ReactElement => { const theme = useTheme(); return ( {props.children} ) } OImage.defaultProps = { width: 26, height: 26 } export default OImage;