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

8 lines
151 B
JavaScript

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