mirror of
https://github.com/maputnik/editor.git
synced 2025-12-25 23:50:02 +00:00
Show error if style fails to load and disabled button if input is empty
This commit is contained in:
@@ -15,6 +15,7 @@ class Button extends React.Component {
|
||||
render() {
|
||||
return <button
|
||||
onClick={this.props.onClick}
|
||||
disabled={this.props.disabled}
|
||||
aria-label={this.props["aria-label"]}
|
||||
className={classnames("maputnik-button", this.props.className)}
|
||||
data-wd-key={this.props["data-wd-key"]}
|
||||
|
||||
Reference in New Issue
Block a user