open-consul/ui-v2/app/components/auth-form/pageobject.js

7 lines
139 B
JavaScript

export default (submitable, clickable, attribute) => (scope = '.auth-form') => {
return {
scope: scope,
...submitable(),
};
};