diff --git a/components/lib/togglebutton/ToggleButton.js b/components/lib/togglebutton/ToggleButton.js index 08cdc487ca..0f9e92b891 100644 --- a/components/lib/togglebutton/ToggleButton.js +++ b/components/lib/togglebutton/ToggleButton.js @@ -21,7 +21,7 @@ export const ToggleButton = React.memo( const hasLabel = props.onLabel && props.onLabel.length > 0 && props.offLabel && props.offLabel.length > 0; const hasIcon = props.onIcon && props.offIcon; - const label = hasLabel ? (props.checked ? props.onLabel : props.offLabel) : ' '; + const label = hasLabel ? (props.checked ? props.onLabel : props.offLabel) : '\u00A0'; const icon = props.checked ? props.onIcon : props.offIcon; const toggle = (e) => {