<template>
  <div class="demo-split-horizontal">
    <ui-split v-model="value">
      <div
        slot="left"
        class="demo-split-horizontal-pane">
        left
      </div>
      <div
        slot="right"
        class="demo-split-horizontal-pane">
        right
      </div>
    </ui-split>
  </div>
</template>

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

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

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