(args, { argTypes })
| 6 | } |
| 7 | |
| 8 | const Template = (args, { argTypes }) => ({ |
| 9 | props: Object.keys(argTypes), |
| 10 | components: { ProgressBar }, |
| 11 | template: ` |
| 12 | <ProgressBar v-bind="$props"> |
| 13 | <template v-slot:dot-label-0]> |
| 14 | <div class="text-center">0</div> |
| 15 | </template> |
| 16 | <template v-slot:dot-label-1]> |
| 17 | <div class="text-center">5k</div> |
| 18 | </template> |
| 19 | <template v-slot:dot-label-2]> |
| 20 | <div class="text-center">10k</div> |
| 21 | </template> |
| 22 | </ProgressBar> |
| 23 | ` |
| 24 | }) |
| 25 | |
| 26 | export const Default = Template.bind({}) |
| 27 | Default.args = { |
nothing calls this directly
no outgoing calls
no test coverage detected