@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
21 lines (16 loc) • 562 B
text/typescript
import { module } from 'angular';
import { react2angular } from 'react2angular';
import { withErrorBoundary } from 'core/presentation/SpinErrorBoundary';
import { AccountSelectInput } from './AccountSelectInput';
export const ACCOUNT_SELECT_WRAPPER = 'spinnaker.core.account.select.wrapper';
const ngmodule = module(ACCOUNT_SELECT_WRAPPER, []);
ngmodule.component(
'accountSelectWrapper',
react2angular(withErrorBoundary(AccountSelectInput, 'accountSelectWrapper'), [
'accounts',
'provider',
'readOnly',
'onChange',
'value',
]),
);