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



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