Commit a749adf4 authored by Savas Vedova's avatar Savas Vedova

Merge branch 'jnnkl-storybook-shared-survey-banner' into 'master'

Added Storybook stories for shared survey Banner

See merge request gitlab-org/gitlab!77655
parents 50d75c7f 06358164
/* 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