mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
698 B
28 lines
698 B
import { CommonModule } from '@angular/common';
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
import { moduleMetadata } from '@storybook/angular';
|
|
import type { Meta, StoryObj } from '@storybook/angular';
|
|
|
|
import { GfPremiumIndicatorComponent } from './premium-indicator.component';
|
|
|
|
export default {
|
|
title: 'Premium Indicator',
|
|
component: GfPremiumIndicatorComponent,
|
|
decorators: [
|
|
moduleMetadata({
|
|
imports: [CommonModule, RouterTestingModule]
|
|
})
|
|
]
|
|
} as Meta<GfPremiumIndicatorComponent>;
|
|
|
|
type Story = StoryObj<GfPremiumIndicatorComponent>;
|
|
|
|
export const Default: Story = {
|
|
args: {}
|
|
};
|
|
|
|
export const WithoutLink = {
|
|
args: {
|
|
enableLink: false
|
|
}
|
|
};
|
|
|