
<template>
  <div class="fotkipress-shortcode-examples" v-if="visible">
    <div>
      Shortcode examples for posts (copy and publish):
    </div>
    <div>
      <p>
        [fotkipress]
      </p>
      <p v-if="isadmin">
        [fotkipress username="{{username}}"]
      </p>
      <p v-if="path">
        [fotkipress path="{{path}}"]
      </p>
    </div>
  </div>
</template>


<script>
export default {
    props: {
        visible: {
            type: Boolean,
            required: true
        },
        username: {
            type: String,
            default: ''
        },
        isadmin: {
            type: Boolean,
            required: true
        },
        path: {
            type: String,
            default: ''
        }
    }
}
</script>
