feat(web/context): allow custom metadata order

This commit is contained in:
Luke
2022-05-08 13:18:09 +02:00
parent 62d4812f24
commit a784726267
3 changed files with 12 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ debugData<ContextMenuProps>([
{
title: "Example button",
description: "Example button description",
metadata: { ["Value 1"]: "Some value", ["Value 2"]: 300 },
metadata: [{ label: "Value 1", value: 300 }],
},
{
title: "Menu button",