feat: more storybook stories

This commit is contained in:
liyasthomas
2021-08-03 00:23:04 +05:30
parent d84e2a8e9b
commit d9834d0fd1
30 changed files with 357 additions and 40 deletions

View File

@@ -0,0 +1,18 @@
import EnvInput from "./EnvInput.vue"
export default {
component: EnvInput,
title: "Smart/EnvInput",
}
const Template = (_args, { argTypes }) => ({
components: { EnvInput },
props: Object.keys(argTypes),
template: `<SmartEnvInput v-bind="$props" v-on="$props" class="h-8 w-8" />`,
})
export const SmartEnvInput = Template.bind({})
SmartEnvInput.args = {
placeholder: "<<env_var>>",
value: "<<url>>/<<path>>",
}