@helsenorge/form
Advanced tools
Comparing version 26.7.1 to 26.9.0
@@ -34,2 +34,3 @@ import * as React from 'react'; | ||
pauseButtonClasses?: string; | ||
pauseButtonLeft?: boolean; | ||
pauseButtonType?: 'action' | 'display' | 'function'; | ||
@@ -36,0 +37,0 @@ pauseButtonLevel?: 'primary' | 'secondary' | 'tertiary'; |
@@ -166,3 +166,3 @@ import * as React from 'react'; | ||
} | ||
if (this.props.cancelButtonRight) { | ||
if (this.props.cancelButtonRight && !this.props.pauseButtonLeft) { | ||
return (React.createElement("span", { className: buttonSpanClass }, | ||
@@ -174,2 +174,9 @@ submitButton, | ||
} | ||
if (this.props.pauseButtonLeft) { | ||
return (React.createElement("span", { className: buttonSpanClass }, | ||
pauseButton, | ||
submitButton, | ||
draftButton, | ||
cancelButton)); | ||
} | ||
return (React.createElement("span", { className: buttonSpanClass }, | ||
@@ -176,0 +183,0 @@ submitButton, |
{ | ||
"name": "@helsenorge/form", | ||
"author": "Helsenorge", | ||
"version": "26.7.1", | ||
"version": "26.9.0", | ||
"main": "./index.js", | ||
@@ -6,0 +6,0 @@ "license": "ISC", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
349093
3767