Component ProgressBar mapping lvgl lv_bar)

October 15, 2022 ยท View on GitHub

Api

  • style
  • moveToFront
  • moveToBackground
  • setStyle
  • scrollIntoView

Props

  • style
  • align
  • alignTo
  • range
  • value
  • indicatorStyle

Usage

import { ProgressBar } from 'lvlgjs-ui'
import { useState } from 'react'

function Component () {
    const [value, setValue] = useState(false)
    return (
        <ProgressBar
          style={style.progressBar}
          range={[0, 50]}
          value={30}
        />
    )
}

const style = {
    progressBar: {},
}

Demo

test/progressbar

Contents

  1. 1Api
  2. 2Props
  3. 3Usage
  4. 4Demo