import PageHeading from './page_heading.vue';
export default {
component: PageHeading,
title: 'vue_shared/page_heading',
};
const Template = (args, { argTypes }) => ({
components: { PageHeading },
props: Object.keys(argTypes),
template: `
Actions go here
Description goes here
`,
});
export const Default = Template.bind({});
Default.args = {
heading: 'Page heading',
};
export const WithHeadingSlot = (args, { argTypes }) => ({
components: { PageHeading },
props: Object.keys(argTypes),
template: `
Heading with custom items
Actions go here
Description goes here
`,
});