import RepoHelper from './repo_helper'
let RepoTab = {
template: `
{{tab.name}}
`,
props: {
name: 'repo-tab',
tab: Object,
saved: true,
},
methods: {
tabClicked(file) {
RepoHelper.setActiveFile(file);
},
xClicked(file) {
RepoHelper.removeFromOpenedFiles(file);
}
}
};
export default RepoTab;