mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
346 B
TypeScript
16 lines
346 B
TypeScript
import * as React from 'react';
|
|
import ScaledImage from 'react-native-scaled-image';
|
|
|
|
class Example extends React.Component {
|
|
render() {
|
|
return (
|
|
<ScaledImage
|
|
source={require('image.png')}
|
|
style={{ resizeMode: 'contain' }}
|
|
width={360} />
|
|
);
|
|
}
|
|
}
|
|
|
|
export default Example;
|