wip: UI for integrations (#769)

This commit is contained in:
Carlos Valente
2024-02-09 13:56:04 +01:00
committed by GitHub
parent e8b5cb6750
commit 7f78fac162
7 changed files with 273 additions and 0 deletions
@@ -0,0 +1,23 @@
import * as Panel from '../PanelUtils';
import HttpIntegrations from './HttpIntegrations';
import OscIntegrations from './OscIntegrations';
export const cycles = [
{ id: 1, label: 'On Load', value: 'onLoad' },
{ id: 2, label: 'On Start', value: 'onStart' },
{ id: 3, label: 'On Pause', value: 'onPause' },
{ id: 4, label: 'On Stop', value: 'onStop' },
{ id: 5, label: 'Every second', value: 'onUpdate' },
{ id: 6, label: 'On Finish', value: 'onFinish' },
];
export default function IntegrationsPanel() {
return (
<>
<Panel.Header>Integration settings</Panel.Header>
<OscIntegrations />
<HttpIntegrations />
</>
);
}