-
- {addPanelView ? 'Add panel from panel library' : 'Add panel'}
-
- {addPanelView ? (
-
- ) : (
-
- {
- reportInteraction('Create new panel');
- onCreateNewPanel();
- }}
- >
- Add a new panel
-
- {
- reportInteraction('Create new row');
- onCreateNewRow();
- }}
- >
- Add a new row
-
- {
- reportInteraction('Add a panel from the panel library');
- setAddPanelView(true);
- }}
- >
- Add a panel from the panel library
-
- {copiedPanelPlugins.length === 1 && (
- {
- reportInteraction('Paste panel from clipboard');
- onPasteCopiedPanel(copiedPanelPlugins[0]);
- }}
- >
- Paste panel from clipboard
-
- )}
-
- )}
-