Added tooltip to buttons (#1132)

This commit is contained in:
alammoiz 2021-10-21 21:14:21 +05:00 committed by GitHub
parent 94f614918e
commit 0605f97a21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -612,6 +612,7 @@ class Editor extends React.Component {
<button
type="button"
className="btn btn-light"
data-tip="Desktop view"
onClick={() => this.setState({ currentLayout: 'desktop' })}
disabled={currentLayout === 'desktop'}
>
@ -620,6 +621,7 @@ class Editor extends React.Component {
<button
type="button"
className="btn btn-light"
data-tip="Mobile view"
onClick={() => this.setState({ currentLayout: 'mobile' })}
disabled={currentLayout === 'mobile'}
>