Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 550 Bytes

scrollbarStyle.md

File metadata and controls

29 lines (24 loc) · 550 Bytes

Component prop scrollbarStyle

Prop scrollbarStyle mapping lvgl object LV_PART_SCROLLBAR style

Value

support JS Object or JS Array

Usage

import { View, Button, Text } from 'lvlgjs-ui'

function Component () {
    return (
             <View
                scrollbarStyle={style.view}
            >
                <Button scrollbarStyle={[style.button1, style.button2]}>
                    <Text>2222</Text>
                </Button>
            </View>
    )
}

const style = {
    view: {},
    button1: {},
    button2: {}
}