open-consul/ui/packages/consul-ui/app/components/tab-nav/index.js

13 lines
245 B
JavaScript

import Component from '@glimmer/component';
function noop() {}
export default class TabNav extends Component {
get onClick() {
return this.args.onclick || noop;
}
get onTabClicked() {
return this.args.onTabClicked || noop;
}
}