(args, { argTypes })
| 6 | } |
| 7 | |
| 8 | const Template = (args, { argTypes }) => ({ |
| 9 | props: Object.keys(argTypes), |
| 10 | components: { HeaderComponent }, |
| 11 | template: `<header-component v-bind="$props"> |
| 12 | <template v-slot:header-text> |
| 13 | <h1 class="text-h1">This is my long title</h1> |
| 14 | <p>Our comprehensive implementation empowers teachers, engages students and delivers successful outcomes.</p> |
| 15 | </template> |
| 16 | <template v-slot:image> |
| 17 | <img src="https://via.placeholder.com/150" alt="placeholder image" /> |
| 18 | </template> |
| 19 | </header-component>` |
| 20 | }) |
| 21 | |
| 22 | export const Default = Template.bind({ |
| 23 | }) |
nothing calls this directly
no outgoing calls
no test coverage detected