16 lines
470 B
JavaScript
16 lines
470 B
JavaScript
import React from 'react';
|
|
import { View } from 'react-native';
|
|
|
|
class FixedDimensionsBasics extends React.Component {
|
|
render() {
|
|
return (
|
|
<View>
|
|
<View style={{ width: 50, height: 50, backgroundColor: 'powderblue' }} />
|
|
<View style={{ width: 100, height: 100, backgroundColor: 'skyblue' }} />
|
|
<View style={{ width: 150, height: 150, backgroundColor: 'steelblue' }} />
|
|
</View>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default FixedDimensionsBasics;
|