<template>
  <div class="rt-place-holder" :style="styles"></div>
</template>

<script>
export default {
  name: 'rtPlaceHolder',
  props: {
    height: {
      type: Number,
      default: 51
    },
    background: {
      type: String
    }
  },
  computed: {
    styles() {
      return {
        height: `${this.height}px`,
        background: this.background || (!rt.isiOS() ? '#fff' : '')
      };
    }
  }
};
</script>
