Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 820 Bytes

Line.md

File metadata and controls

39 lines (33 loc) · 820 Bytes

Component Line mapping lvgl lv_line)

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