<template>
  <div :style="{'padding':hasPadding?paddingSize:'0px','background-color':background}" class="app-container">
    <slot/>
  </div>
</template>

<script>
export default {
  name: 'AppContainer',
  props: {
    hasPadding: {
      type: Boolean,
      default: false
    },
    paddingSize: {
      type: String,
      default: '0px'
    },
    background: {
      type: String,
      default: '#fff'
    }
  }
}
</script>

<style scoped>
  .noPadding{

  }
  .hasPadding{
    padding:10px 10px;
  }
</style>
