import * as React from "react"; import {IProps} from "./image"; import {Image, ImageStyle, StyleProp} from "react-native"; import _hooks from "./_hooks"; import app from "../../app"; const BasicImage: React.FC = (props) => { const css = app.themeCss.get(); const width = props.width ?? css.width; const { imgHeight, } = _hooks.useData(props.source, width, props.height, props.setHeight); const defaultStyle: StyleProp = { width, height: imgHeight, } return } export default BasicImage