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

Function Template

app/components/common/elements/TwoColumnBlock.stories.js:8–21  ·  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: { TwoColumnBlock },
11 template: `
12 <two-column-block v-bind="$props">
13 <template v-slot:column-one>
14 {{ columnOneContent }}
15 </template>
16 <template v-slot:column-two>
17 {{ columnTwoContent }}
18 </template>
19 </two-column-block>
20 `
21})
22
23export const Default = Template.bind({})
24Default.args = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected