Answers for "antd tooltip width react jss"

0

antd tooltip width react jss

.ant-tooltip-inner {
  color: yellow;
  background-color: green;
  width: 200px;
}
// for React-JSS
<ToolTip overlayClassName="toolTipOverlay" {...props} >Content</ToolTip>

JSS style Object = {
	toolTipOverlay: {
    	'& .ant-tooltip-inner': {
           width: 'max-content';
        }
    }
}
Posted by: Guest on July-29-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language