PanelEdit: Allow standard field config properties extensions without altering order of standard options (#34669)

* Render tooltip options in correct category

* Allow custom field config properties that extend standard categories
This commit is contained in:
Dominik Prokop
2021-05-27 10:36:45 +02:00
committed by GitHub
parent 6394a60a08
commit 811704fd2e
5 changed files with 56 additions and 7 deletions

View File

@@ -165,7 +165,8 @@ export const Components = {
backArrow: 'Go Back button',
},
OptionsGroup: {
toggle: (title?: string) => (title ? `Options group ${title}` : 'Options group'),
group: (title?: string) => (title ? `Options group ${title}` : 'Options group'),
toggle: (title?: string) => (title ? `Options group ${title} toggle` : 'Options group toggle'),
},
PluginVisualization: {
item: (title: string) => `Plugin visualization item ${title}`,