Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

340 B
Raw Blame
import { h } from "vue"

export const WithScreenshotArea = (story) => {
  return {
    components: { story },
    setup() {
      return () =>
        h(
          "div",
          {
            class: "screenshot-area",
            style: "display: inline-block; padding: 2rem;",
          },
          [h(story())]
        )
    },
  }
}