New-UDIconButton is failing after 2.4.0 update

Product: PowerShell Universal
Version: 2.4.0

Looks like after the 2.4.0 update New-UDIconButton is failing with this react error:

Here’s an example of code that produces the error:

New-UDIconButton -Icon (New-UDIcon -Icon ‘question_circle’) -OnClick {}

Dashboard uses latest version of UD, powershell version is 5.1, and it started happening after installing the update. Other details are that I tried other icon names, adding different parameters (also tried the example code from Get-Help).

I can reproduce this. We will be releasing a 2.4.1 build and this will be included.

Thanks, Adam!

Just a quick update - applied 2.4.1 today and icon buttons are working perfectly. Thanks again!