mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
CmdPal: Implement IDetailsCommand in details (#39911)
Implemented IDetailsCommands in details. This will close #38339. This works very similar to Tags in that it is a list of commands. This was done to allow for styling without the 12 spacing of the ItemsRepeater and looks like you'd find in the OS-inbox like:   Also added to our sample extension: 
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
namespace Microsoft.CommandPalette.Extensions.Toolkit;
|
||||
|
||||
public partial class DetailsCommand : IDetailsCommand
|
||||
public partial class DetailsCommands : IDetailsCommands
|
||||
{
|
||||
public ICommand? Command { get; set; }
|
||||
public ICommand[]? Commands { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user