text: import angular from 'angular';
  
  import angularDecorator, {APP_NAME} from '../../.storybook/angular-decorator';
  
  import ButtonNG from '@jetbrains/ring-ui/components/button-ng/button-ng';
  import ButtonGroupNg from '@jetbrains/ring-ui/components/button-group-ng/button-group-ng';
  
  import ButtonToolbarNG from '@jetbrains/ring-ui/components/button-toolbar-ng/button-toolbar-ng';
  
  export default {
    title: 'Legacy Angular/Button Toolbar Ng',
    decorators: [angularDecorator()],
  
    parameters: {
      notes: 'Provides an Angular wrapper for Button Toolbar.'
    }
  };
  
  export const basic = () => {
    angular.module(APP_NAME, [ButtonNG, ButtonToolbarNG, ButtonGroupNg]);
  
    return `
        <div rg-button-toolbar>
          <rg-button mode="primary" delayed="true">Run</rg-button>
          <div rg-button-group>
            <rg-button>Button one</rg-button>
            <rg-button>Button two</rg-button>
            <rg-button disabled>Button three</rg-button>
          </div>
          <rg-button>Another action</rg-button>
        </div>
      `;
  };
  
  basic.story = {
    name: 'basic'
  };
  