Skip to content

Commit

Permalink
feat: story for this task
Browse files Browse the repository at this point in the history
  • Loading branch information
wermeson-lopes-brisa committed Oct 2, 2023
1 parent e957f71 commit 975b18e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions stories/Indicator.stories.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { CommonModule } from '@angular/common';
import { Meta, Story } from '@storybook/angular/types-6-0';
import { BodyMockComponent } from './../projects/ion/src/lib/card/mock/body-mock.component';
import { IonIndicatorComponent } from './../projects/ion/src/lib/indicator/indicator.component';
import { IonIndicatorModule } from './../projects/ion/src/lib/indicator/indicator.module';
import {
buttonEmitterConfig,
buttonModalConfig,
buttonRedirectConfig,
} from '../projects/ion/src/lib/indicator/mocks/indicator-button-config';
import { BodyMockComponent } from './../projects/ion/src/lib/card/mock/body-mock.component';
import { IonIndicatorComponent } from './../projects/ion/src/lib/indicator/indicator.component';
import { IonIndicatorModule } from './../projects/ion/src/lib/indicator/indicator.module';

export default {
title: 'Ion/Data Display/Indicator',
Expand Down Expand Up @@ -71,6 +71,13 @@ WithError.args = {
error: true,
};

export const WithNoContent = Template.bind({});
WithError.args = {
title: 'Tempo de SLA',
value: '',
tooltipText: 'Texto personalizado via atributo tooltipText',
};

export const WithEmitterButton = Template.bind({});
WithEmitterButton.args = {
title: 'Com botão emitter',
Expand Down

0 comments on commit 975b18e

Please sign in to comment.