I can determine the width and height inline
<WithLocalSvg width={50} height={50} asset={require("./assets/logo.svg")} />
But if I try to pass a width and height using a stylesheet then the width and height aren't inherited
const styles = StyleSheet.create({
container: {
paddingTop: 50,
},
tinyLogo: {
width: 50,
height: 50,
},
logo: {
width: 66,
height: 58,
},
});
<WithLocalSvg style={styles.tinyLogo} asset={require("./assets/logo.svg")} />
I'm currently testing the iOS version