import { global as globalThis } from '@storybook/global'; const MyButton = globalThis.Components.Button; export default { component: {}, }; export const Render = () => ({ render: (h) => h('div', ['renders a div with some text in it..']), }); export const RenderComponent = () => ({ render(h) { return h(MyButton, { props: { color: 'pink', label: 'renders component: MyButton' } }); }, }); export const Template = () => ({ template: `
rendered in vue in storybook
Clicking the button will navigate to another story using the 'addon-links'
This component was pre-registered in .storybook/preview.js