diff --git a/react-common/components/controls/Button.tsx b/react-common/components/controls/Button.tsx
index 914a9ee1a9c..eeee5ab0f21 100644
--- a/react-common/components/controls/Button.tsx
+++ b/react-common/components/controls/Button.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import { classList, ControlProps, fireClickOnEnter } from "../util";
+import { classList, ContainerProps, fireClickOnEnter } from "../util";
-export interface ButtonViewProps extends ControlProps {
+export interface ButtonViewProps extends ContainerProps {
buttonRef?: (ref: HTMLButtonElement) => void;
title: string;
label?: string | JSX.Element;
@@ -56,7 +56,8 @@ export const Button = (props: ButtonProps) => {
hardDisabled,
href,
target,
- tabIndex
+ tabIndex,
+ children
} = props;
let {
@@ -101,13 +102,15 @@ export const Button = (props: ButtonProps) => {
aria-setsize={ariaSetSize}
aria-describedby={ariaDescribedBy}
aria-selected={ariaSelected}>
-
- {leftIcon && }
-
- {label}
-
- {rightIcon && }
-
+ {(leftIcon || rightIcon || label) && (
+
+ {leftIcon && }
+
+ {label}
+
+ {rightIcon && }
+ )}
+ {children}
);
}
\ No newline at end of file