MCPcopy Create free account
hub / github.com/codecombat/codecombat / Template

Function Template

app/components/common/elements/ProgressBar.stories.js:8–24  ·  view source on GitHub ↗
(args, { argTypes })

Source from the content-addressed store, hash-verified

6}
7
8const 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
26export const Default = Template.bind({})
27Default.args = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected