(args, { argTypes })
| 6 | } |
| 7 | |
| 8 | const Template = (args, { argTypes }) => ({ |
| 9 | props: Object.keys(argTypes), |
| 10 | components: { IframeModal }, |
| 11 | template: `<IframeModal v-bind="$props"> |
| 12 | <template #opener="{ openModal }"> |
| 13 | <button |
| 14 | class="btn btn-md" |
| 15 | @click="openModal" |
| 16 | > |
| 17 | Open Modal |
| 18 | </button> |
| 19 | </template> |
| 20 | </IframeModal>`, |
| 21 | }) |
| 22 | |
| 23 | export const Default = Template.bind({}) |
| 24 | Default.args = { |
nothing calls this directly
no outgoing calls
no test coverage detected