mirror of https://github.com/hashicorp/consul
18 lines
419 B
JavaScript
18 lines
419 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
export default function (visitable, submitable, deletable, cancelable, clickable) {
|
|
return submitable(
|
|
cancelable(
|
|
deletable({
|
|
visit: visitable(['/:dc/acls/:acl', '/:dc/acls/create']),
|
|
use: clickable('[data-test-use]'),
|
|
confirmUse: clickable('[data-test-confirm-use]'),
|
|
})
|
|
),
|
|
'main'
|
|
);
|
|
}
|