<template>
  <div class="tips"
       :style="{ background:
       background, color: color}">
    <slot>{content}</slot>
  </div>
</template>

<script>
export default {
  name: 'ActionTips',
  props: {
    content: {
      type: String,
      default: ''
    },
    background: {
      type: String,
      default: '#fff1f1'
    },
    color: {
      type: String,
      default: '#FF4949'
    }
  }
}
</script>

<style lang="scss" scoped>
.tips {
  font-size: 14px;
  font-weight: 400;
  color: #ff4949;
  min-height: 40px;
  line-height: 20px;
  padding: 10px 28px;
}
</style>
