Component Image mapping lvgl lv_img)
October 15, 2022 ยท View on GitHub
Api
Props
Usage
import { Image } from 'lvlgjs-ui'
const path = require('path')
function Component () {
return (
<React.Fragment>
<Image src={path.resolve(__dirname, './assets/images/1.png')} />
<Image src={'https://somewebsite/images/1.png'} />
<Image src="audio" />
</React.Fragment>
)
}
Demo
test/image