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

Function OnlyImage

app/components/common/elements/ContentBox.stories.js:198–208  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

196}
197
198export const OnlyImage = (args) => ({
199 components: { ContentBox, MixedColorLabel, LearnMoreButton },
200 props: Object.keys(args),
201 template: `
202 <content-box :arrangement="arrangement" :has-padding="hasPadding" :main-image-bg="mainImageBg" :equal-width="equalWidth">
203 <template v-slot:image v-if="image">
204 <img src="/images/pages/codequest/cc2-2.webp" />
205 </template>
206 </content-box>
207 `
208})
209OnlyImage.args = {
210 arrangement: 'vertical',
211 hasPadding: false,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected