Files
hoppscotch/components/smart/Anchor.stories.js
2021-08-03 00:23:04 +05:30

18 lines
354 B
JavaScript

import Anchor from "./Anchor.vue"
export default {
component: Anchor,
title: "Smart/Anchor",
}
const Template = (_args, { argTypes }) => ({
components: { Anchor },
props: Object.keys(argTypes),
template: `<SmartAnchor v-bind="$props" v-on="$props" />`,
})
export const SmartAnchor = Template.bind({})
SmartAnchor.args = {
label: "Link",
}