Skip to content

Commit

Permalink
update exports and storyshot
Browse files Browse the repository at this point in the history
  • Loading branch information
lachieh committed Oct 7, 2020
1 parent 36bed85 commit 598591e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
@@ -1,37 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Storyshots Enum Types No Defaults 1`] = `
<storybook-dynamic-app-root
cfr={[Function CodegenComponentFactoryResolver]}
data={[Function Object]}
target={[Function ViewContainerRef_]}
>
<app-enums>
<div>
<div>
unionType:
</div>
<div>
aliasedUnionType:
</div>
<div>
enumNumeric:
</div>
<div>
enumNumericInitial:
</div>
<div>
enumStrings:
</div>
<div>
enumAlias:
</div>
</div>
</app-enums>
</storybook-dynamic-app-root>
`;

exports[`Storyshots Enum Types With Defaults 1`] = `
exports[`Storyshots Enum Types Basic 1`] = `
<storybook-dynamic-app-root
cfr={[Function CodegenComponentFactoryResolver]}
data={[Function Object]}
Expand Down
@@ -1,5 +1,6 @@
import { Story, Meta } from '@storybook/angular';
import EnumsComponent, {
import {
EnumsComponent,
EnumNumeric,
EnumNumericInitial,
EnumStringValues,
Expand Down
Expand Up @@ -7,7 +7,7 @@ import { Component, Input } from '@angular/core';
selector: 'app-enums',
templateUrl: './enums.component.html',
})
export default class EnumsComponent {
export class EnumsComponent {
/** Union Type of string literals */
@Input() unionType: 'Union A' | 'Union B' | 'Union C';

Expand Down

0 comments on commit 598591e

Please sign in to comment.