react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Use List.Item structure in Menu

Open RichardLindhout opened this issue 7 years ago • 1 comments

Describe the feature

Maybe we could export the List.Item component from the Menu.Item so we could support more customization.

Motivation

I can't add a description to the menu item.

Related Issues

RichardLindhout avatar Apr 15 '19 09:04 RichardLindhout

We could use List.Item, But as per material guidelines Menu.Item doesn't have much customization. It just has the text in mobile. icons and some little bit extra customization on the web. Also it supports disabled action unlike List.Item.

If you would like to get more customization you could do this way:

<Menu>
   <List.Item ... />
   <List.Item ... />
</Menu>

iyadthayyil avatar Apr 28 '19 07:04 iyadthayyil