Component Line mapping lvgl lv_line)
October 15, 2022 ยท View on GitHub
Api
Props
Usage
import { Line } from 'lvlgjs-ui'
import { useState } from 'react'
const points = [[5, 5], [70, 70], [120, 10], [180, 60], [240, 10]]
function Component () {
const [value, setValue] = useState(false)
return (
<Line
style={style.line}
points={points}
/>
)
}
const style = {
line: {},
}
Demo
test/line