@shoutem/ui 7.1.0-beta.7 → 7.1.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,7 +44,7 @@ class Video extends PureComponent {
44
44
  }
45
45
 
46
46
  render() {
47
- const { width, height, style, poster } = this.props;
47
+ const { width, height = '100%', style, poster } = this.props;
48
48
 
49
49
  return (
50
50
  <View style={style.container}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoutem/ui",
3
- "version": "7.1.0-beta.7",
3
+ "version": "7.1.0-beta.8",
4
4
  "description": "Styleable set of components for React Native applications",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
@@ -35,7 +35,7 @@
35
35
  "react-native-linear-gradient": "2.8.3",
36
36
  "react-native-modal": "13.0.1",
37
37
  "react-native-render-html": "6.3.4",
38
- "react-native-svg": "12.3.0",
38
+ "react-native-svg": "15.4.0",
39
39
  "react-native-svg-transformer": "1.3.0",
40
40
  "react-native-toast-message": "2.1.5",
41
41
  "react-native-vimeo-iframe": "^1.2.1",
package/theme.js CHANGED
@@ -2475,8 +2475,7 @@ export default () => {
2475
2475
  'shoutem.ui.Video': {
2476
2476
  container: {
2477
2477
  backgroundColor: resolveVariable('paperColor'),
2478
- flex: 1,
2479
- height: 240,
2478
+ height: responsiveHeight(240),
2480
2479
  },
2481
2480
  },
2482
2481