vault/ui/lib/replication/addon/components/known-secondaries-card.js
Hamid Ghaf e55c18ed12
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

25 lines
715 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@ember/component';
/**
* @module KnownSecondariesCard
* KnownSecondariesCard components are used on the Replication Details dashboards to display a table of known secondary clusters.
*
* @example
* ```js
* <KnownSecondariesCard @cluster={{clusterModel}} @replicationAttrs={{replicationAttrs}} />
* ```
* @param {object} cluster=null - The cluster model.
* @param {object} replicationAttrs=null - The attributes passed directly from the cluster model. These are passed down to the KnownSecondariesTable.
*/
export default Component.extend({
tagName: '',
cluster: null,
replicationAttrs: null,
});