blob: 235523054c390fd62e2c15bc79e9a63510f76322 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { groups } from 'jest/vue_shared/components/groups_list/mock_data';
import GroupsList from './groups_list.vue';
export default {
component: GroupsList,
title: 'vue_shared/groups_list',
};
const Template = (args, { argTypes }) => ({
components: { GroupsList },
props: Object.keys(argTypes),
template: '<groups-list v-bind="$props" />',
});
export const Default = Template.bind({});
Default.args = {
groups,
showGroupIcon: true,
};
|