<template>
  <div class="demo-button-group">
    <ui-button-group>
      <ui-button type="primary">
        Create customer
      </ui-button>
      <ui-button
        type="primary"
        icon="chevrondown"></ui-button>
    </ui-button-group>

    <ui-button-group>
      <ui-button>
        Create order
      </ui-button>
      <ui-button icon="chevrondown"></ui-button>
    </ui-button-group>

    <ui-button-group>
      <ui-button icon="add"></ui-button>
      <ui-button icon="edit"></ui-button>
      <ui-button icon="delete"></ui-button>
    </ui-button-group>
  </div>
</template>

<script>
import { Button, ButtonGroup } from "amumu-ui"
export default {
  components: {
    "ui-button": Button,
    "ui-button-group": ButtonGroup,
  },
}
</script>

<style lang="scss">
.mm-button-group {
  margin-right: 20px;
}
</style>
