<template>
  <div class="demo-alert-global">
    <ui-alert
      global
      title="成功提示的文案"
      type="success">
    </ui-alert>
    <ui-alert
      global
      title="消息提示的文案"
      type="info">
    </ui-alert>
    <ui-alert
      global
      title="警告提示的文案"
      type="warning">
    </ui-alert>
    <ui-alert
      global
      title="错误提示的文案"
      type="error">
    </ui-alert>
  </div>
</template>
<script>
import { Alert } from "amumu-ui"
export default {
  components: {
    "ui-alert": Alert,
  },
}
</script>
<style lang="scss">
.demo-alert-global {
  .mm-alert {
    margin-bottom: 10px;
  }
}
</style>
