import TreeItem from './TreeItem.vue.js'


export default {
  name: "Tree",
  components: {
    TreeItem
  },
  props: {
    treedata: Object
  },
  data() {
    return {
    }
  },
  template: `
    <ul>
      <TreeItem class="item" :model="treedata"></TreeItem>
    </ul>
  `,
  css: `
    .item {
      cursor: pointer;
      line-height: 1.5;
      color:red;
    }
    .bold {
      font-weight: bold;
      color:green;
    }
  `
}