Also:
component: oh-icon
config:
icon: button01
state: =items[props.item].state
should work, but only in M4 or more recent snapshots, if your icon is PNG (before only the SVG versions could be used).
Also:
component: oh-icon
config:
icon: button01
state: =items[props.item].state
should work, but only in M4 or more recent snapshots, if your icon is PNG (before only the SVG versions could be used).