mirror of
https://github.com/lowdefy/lowdefy.git
synced 2024-11-21 01:14:48 +08:00
Merge pull request #432 from lowdefy/renderer-message
fix(blocksAntd): Fix args.icon for Message.
This commit is contained in:
commit
d6b1a58032
@ -29,7 +29,7 @@ const MessageBlock = ({ blockId, events, properties, methods }) => {
|
||||
content: args.content || properties.content || blockId,
|
||||
duration: type.isNone(args.duration) ? properties.duration : args.duration,
|
||||
onClose: () => methods.triggerEvent({ name: 'onClose' }),
|
||||
icon: properties.icon && (
|
||||
icon: (args.icon || properties.icon) && (
|
||||
<Icon
|
||||
blockId={`${blockId}_icon`}
|
||||
events={events}
|
||||
|
Loading…
Reference in New Issue
Block a user