import { withA11y } from '@storybook/addon-a11y'; import { Meta, moduleMetadata } from '@storybook/angular'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { BrowserModule } from '@angular/platform-browser'; import { MatDialogModule } from '@angular/material/dialog'; import { MatButtonModule } from '@angular/material/button'; import { ModalContainerComponent } from './modal-container.component'; import { ArrowLinkComponent } from '../../common/arrow-link/arrow-link.component'; export default { title: 'Structure/Modal Container', component: ModalContainerComponent, decorators: [ moduleMetadata({ imports: [ BrowserModule, BrowserAnimationsModule, MatDialogModule, MatButtonModule ], declarations: [ ArrowLinkComponent, ModalContainerComponent ] }), withA11y ] } as Meta; const Template = (args: ModalContainerComponent) => ({ component: ModalContainerComponent, props: args, template: `

Favorite Animal

` }); // _____ _ _ // / ____| | (_) // | (___ | |_ ___ _ __ _ ___ ___ // \___ \| __/ _ \| '__| |/ _ \/ __| // ____) | || (_) | | | | __/\__ \ // |_____/ \__\___/|_| |_|\___||___/ export const Primary = Template.bind({}); Primary.args = { }; //

Favorite Animal

//
// My favorite animal is: //
    //
  • // Panda //
  • //
  • // Unicorn //
  • //
  • // Lion //
  • //
//