Skip to main content

Image

Image component of React Native for building a user interface.

How to use

import React from 'react';
import {Image} from '@gyri/native-ui-components';

const App = ({style, className, source}) => {
return (
<Image source={source} className={className} style={style} />
)
}
export default App

Props

#NameData typeDefault valueValuesDescription
1styleobjectCustom style object
2classNamestring''It defined nativewind style classes.

For more details https://reactnative.dev/docs/image