mirror of https://github.com/status-im/consul.git
12 lines
313 B
JavaScript
12 lines
313 B
JavaScript
export default (submitable, cancelable, radiogroup) => () => {
|
|
return {
|
|
// this should probably be settable
|
|
resetScope: true,
|
|
scope: '[data-test-policy-form]',
|
|
prefix: 'policy',
|
|
...submitable(),
|
|
...cancelable(),
|
|
...radiogroup('template', ['', 'service-identity'], 'policy'),
|
|
};
|
|
};
|