From 975b18e0732e2ea752016796d084ca1cd939a705 Mon Sep 17 00:00:00 2001 From: wermeson-lopes-brisa Date: Mon, 2 Oct 2023 15:42:11 -0300 Subject: [PATCH] feat: story for this task --- stories/Indicator.stories.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/stories/Indicator.stories.ts b/stories/Indicator.stories.ts index 0e0fefd8f..5f76de8ac 100644 --- a/stories/Indicator.stories.ts +++ b/stories/Indicator.stories.ts @@ -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', @@ -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',