feat: more storybook stories
This commit is contained in:
17
components/smart/Anchor.stories.js
Normal file
17
components/smart/Anchor.stories.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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",
|
||||
}
|
||||
Reference in New Issue
Block a user