import { Vue } from "vue-property-decorator"; export default Vue.extend({ props: { parentItem: { type: Object, default: () => {} }, theme: String, iconSize: Number }, computed: { parentName () { return (this.parentItem as any).name }, children () { return (this.parentItem as any).children }, textColor () { return this.theme === 'dark' ? '#fff' : '#495060' } } })