Skip to content

Add Icon to NestedMenuItem #29

@garrydoherty84

Description

@garrydoherty84

How/Can we add an icon to the left hand side of the NestedMenuItem? I have tried the following:

<NestedMenuItem
                                            iconLeft = {<FaBeer />}
                                            label="Sub-Button 3"
                                            parentMenuOpen={!!menuPosition}
                                            onClick={handleItemClick}
                                            style={{paddingTop: 0, paddingBottom: 0, paddingLeft: 5, fontSize: "0.85rem"}}

                                          >

                                            <MenuItem onClick={handleItemClick}>Sub-Sub-Button 1</MenuItem>
                                            <MenuItem onClick={handleItemClick}>Sub-Sub-Button 2</MenuItem>
                                        </NestedMenuItem>                                    

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