@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
13 lines (9 loc) • 411 B
text/typescript
import { module } from 'angular';
import { react2angular } from 'react2angular';
import { withErrorBoundary } from '@spinnaker/core';
import { JsonEditor } from './JsonEditor';
export const JSON_EDITOR_COMPONENT = 'spinnaker.kubernetes.jsonEditor.component';
module(JSON_EDITOR_COMPONENT, []).component(
'jsonEditor',
react2angular(withErrorBoundary(JsonEditor, 'jsonEditor'), ['onChange', 'value']),
);