aboutsummaryrefslogtreecommitdiff
path: root/node_modules/vuepress/lib/app/components/Content.js
blob: 46628195e6564cb950cb658c32dae469b6d983a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export default {
  functional: true,

  props: {
    custom: {
      type: Boolean,
      default: true
    }
  },

  render (h, { parent, props, data }) {
    return h(parent.$page.key, {
      class: [props.custom ? 'custom' : '', data.class, data.staticClass],
      style: data.style
    })
  }
}