feat(Cell): add icon-prefix prop (#5666)

This commit is contained in:
chenjiahan
2020-02-24 21:24:26 +08:00
parent aba946f20e
commit 51513d9423
6 changed files with 27 additions and 1 deletions
+7 -1
View File
@@ -78,7 +78,13 @@ function Cell(
}
if (icon) {
return <Icon class={bem('left-icon')} name={icon} />;
return (
<Icon
class={bem('left-icon')}
name={icon}
classPrefix={props.iconPrefix}
/>
);
}
}