aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js
diff options
context:
space:
mode:
Diffstat (limited to 'workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js')
-rw-r--r--workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js
index d08ff434..4a607e6b 100644
--- a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js
+++ b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/views/SvgButton.js
@@ -19,6 +19,7 @@ import PropTypes from 'prop-types';
const SvgButton = props => {
const {
+ className = '',
name,
tooltipText,
disabled,
@@ -35,6 +36,7 @@ const SvgButton = props => {
onClick={onClickAction}>
<div className="action-buttons-svg">
<SVGIcon
+ className={className}
label={tooltipText}
labelPosition="bottom"
labelClassName="action-button-label"
@@ -53,7 +55,8 @@ SvgButton.propTypes = {
disabled: PropTypes.bool,
onClick: PropTypes.func,
dataTestId: PropTypes.string,
- actiontype: PropTypes.string
+ actiontype: PropTypes.string,
+ className: PropTypes.string
};
export default SvgButton;