<template>
  <div class="demo-split-vertical">
    <ui-split
      v-model="value"
      mode="vertical">
      <div
        slot="top"
        class="demo-split-vertical-pane">
        top
      </div>
      <div
        slot="bottom"
        class="demo-split-vertical-pane">
        bottom
      </div>
    </ui-split>
  </div>
</template>

<script>
import { Split } from "amumu-ui"
export default {
  components: {
    "ui-split": Split,
  },
  data() {
    return {
      value: 0.5,
    }
  },
}
</script>

<style lang="scss">
.demo-split-vertical {
  height: 200px;
  border: 1px solid #dcdcdc;

  .demo-split-vertical-pane {
    padding: 10px;
  }
}
</style>
