feat: more storybook stories
This commit is contained in:
19
components/smart/ProgressRing.stories.js
Normal file
19
components/smart/ProgressRing.stories.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import ProgressRing from "./ProgressRing.vue"
|
||||
|
||||
export default {
|
||||
component: ProgressRing,
|
||||
title: "Smart/ProgressRing",
|
||||
}
|
||||
|
||||
const Template = (_args, { argTypes }) => ({
|
||||
components: { ProgressRing },
|
||||
props: Object.keys(argTypes),
|
||||
template: `<SmartProgressRing v-bind="$props" v-on="$props" />`,
|
||||
})
|
||||
|
||||
export const SmartProgressRing = Template.bind({})
|
||||
SmartProgressRing.args = {
|
||||
radius: 16,
|
||||
stroke: 4,
|
||||
progress: 25,
|
||||
}
|
||||
Reference in New Issue
Block a user