Skip to content

Unable to increase the width of the dropdown #1

@kuabhish

Description

@kuabhish

Hey,

I am unable to understand how to use this adjustFrame attribute to increase the thickness of the dropdown menu.

Please help.

const renderRow= (option,index,isSelected) => {
            return(
                <View>
                    <Text style={{fontSize:14}}>
                        {option}
                    </Text>
                </View>
            )
        }

<ModalDropdown 
                            defaultValue="Select a friend"
                            options={["option 1", "option 2"]}
                            style={{
                                paddingRight:50 , 
                                backgroundColor: '#fff',
                                borderRadius: 4,
                                borderWidth: 0.5,
                                borderColor: '#000',
                            }}
                            renderRow={renderRow}
                            onSelect={(item)=> console.log(item)}
                        />

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions