use multiline tooltips for help as default

This commit is contained in:
Sebastian Sdorra
2020-07-31 10:48:51 +02:00
parent 28d3983aed
commit 3f1b7bbf5e
4 changed files with 77 additions and 14 deletions

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React, { ChangeEvent } from "react";
import React from "react";
import { Help } from "../index";
import LabelWithHelpIcon from "./LabelWithHelpIcon";
import TriStateCheckbox from "./TriStateCheckbox";
@@ -47,7 +47,7 @@ export default class Checkbox extends React.Component<Props> {
renderHelp = () => {
const { title, helpText } = this.props;
if (helpText && !title) {
return <Help message={helpText} className="has-tooltip-multiline" />;
return <Help message={helpText} />;
}
};