/**
 * Copyright (c) HashiCorp, Inc.
 * SPDX-License-Identifier: BUSL-1.1
 */

import Component from '@glimmer/component';
/**
 * @module UpgradePage
 *
 * @example
 * <UpgradePage @title="Namespaces" @minimumEdition="Vault Enterprise Pro" />
 *
 */

export default class UpgradePage extends Component {
  get minimumEdition() {
    return this.args.minimumEdition || 'Vault Enterprise';
  }
  get title() {
    return this.args.title || 'Vault Enterprise';
  }

  get featureName() {
    return this.title === 'Vault Enterprise' ? 'this feature' : this.title;
  }
}
