Commit 06358164 authored by Jannik Lehmann's avatar Jannik Lehmann Committed by Savas Vedova

Added Storybook stories for shared survey Banner

parent e099eb51
/* eslint-disable @gitlab/require-i18n-strings */
import SurveyBanner from './survey_banner.vue';
export default {
component: SurveyBanner,
title: 'vue_shared/components/survey_banner',
};
const Template = (args, { argTypes }) => ({
components: { SurveyBanner },
props: Object.keys(argTypes),
template: '<survey-banner v-bind="$props" />',
});
export const Default = Template.bind({});
Default.args = {
surveyLink: 'testlink.test',
daysToAskLater: 7,
title: 'Shared Survey Banner Test Title',
buttonText: 'Shared Survey Banner Button Text',
description: 'Shared Survey Banner Test Description',
toastMessage: 'Shared Survey Banner Test ToastMessage',
storageKey: 'testStorageKey',
bannerId: 'testbannerID',
svgPath: 'https://gitlab-org.gitlab.io/gitlab-svgs/dist/illustrations/monitoring/tracing.svg',
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment