mirror of https://github.com/hashicorp/consul
13 lines
334 B
JavaScript
13 lines
334 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
export default (clickable, attribute, collection, deletable) => () => {
|
|
return collection('[data-test-tokens] [data-test-tabular-row]', {
|
|
id: attribute('data-test-token', '[data-test-token]'),
|
|
token: clickable('a'),
|
|
...deletable(),
|
|
});
|
|
};
|