Product: PowerShell Universal Version: 2.8.0
Hi
I have a New-UDButton configured as shown here:
I would like to add the icon next to the theme dark/light toggle and username in the header. Have anyone done it and can point me in the right direction to achieve this?
You can use -HeaderContent of New-UDPage to do this. It’s currently not available on New-UDDashboard.
$Page = New-UDPage -Name 'Home' -Content { } -HeaderContent { New-UDButton -Icon (New-UDIcon -Icon Users) -Text 'User' } New-UDDashboard -Title "Dashboard" -Pages $Page
Thanks @adamdriscoll - will give it a try