consul/ui/packages/consul-ui/app/components/auth-form/pageobject.js

13 lines
230 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export default (submitable, clickable, attribute) =>
(scope = '.auth-form') => {
return {
scope: scope,
...submitable(),
};
};