angular_wrappers.ts 664 B

123456789101112
  1. import { react2AngularDirective } from 'app/core/utils/react2angular';
  2. import { PasswordStrength } from './components/PasswordStrength';
  3. import PageHeader from './components/PageHeader/PageHeader';
  4. import EmptyListCTA from './components/EmptyListCTA/EmptyListCTA';
  5. import LoginBackground from './components/Login/LoginBackground';
  6. export function registerAngularDirectives() {
  7. react2AngularDirective('passwordStrength', PasswordStrength, ['password']);
  8. react2AngularDirective('pageHeader', PageHeader, ['model', 'noTabs']);
  9. react2AngularDirective('emptyListCta', EmptyListCTA, ['model']);
  10. react2AngularDirective('loginBackground', LoginBackground, []);
  11. }