Skip to content

Commit

Permalink
fix: fix arrayBase.addition icon custom (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgchenu authored Nov 21, 2023
1 parent c54166d commit 0e9c349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/array-base/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const Addition: ReactFC<IArrayBaseAdditionProps> = (props) => {
props.onClick(e)
}
}}
icon={<PlusOutlined />}
icon={isUndef(props.icon) ? <PlusOutlined /> : props.icon}
>
{props.title || self.title}
</Button>
Expand Down

0 comments on commit 0e9c349

Please sign in to comment.