[new feature] DropdownMenu: add icon option (#3855)

This commit is contained in:
neverland
2019-07-15 18:44:33 +08:00
committed by GitHub
parent d15315b8e4
commit dbe56fd362
5 changed files with 83 additions and 28 deletions
+2 -1
View File
@@ -82,8 +82,9 @@ export default createComponent({
<Cell
clickable
key={option.value}
icon={option.icon}
title={option.text}
titleStyle={{ color: active ? activeColor : '' }}
style={{ color: active ? activeColor : '' }}
onClick={() => {
this.showPopup = false;