<!-- Ukazka komponenty, do ktere lze vlozit dalsi uroven komponent
Zde je pomoci <slot></slot> mozne vlozit obsah do te komponenty (obdoba React children), tj. dalsi vnoreni <component> z YAMLu -->

<template>
	<div class="block full">
		<div class="content" :style="{ backgroundImage: bgImage, backgroundColor: bgColor }">
			<slot></slot>
		</div>
	</div>
</template>

<script type="text/javascript">
import EntityMixin from '../mixins/entityComponent'
import BackgroundCustomizable from '../mixins/backgroundCustomizable'

export default {
	mixins: [EntityMixin, BackgroundCustomizable],
}
</script>

<style lang="stylus" scoped>
@import '../../variables.styl'
// component is using global classes, so nothing is there for now
</style>