mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
Added accessible modal via react-aria-modal
This commit is contained in:
@@ -12,13 +12,13 @@ class Button extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
return <a
|
||||
return <button
|
||||
onClick={this.props.onClick}
|
||||
className={classnames("maputnik-button", this.props.className)}
|
||||
data-wd-key={this.props["data-wd-key"]}
|
||||
style={this.props.style}>
|
||||
{this.props.children}
|
||||
</a>
|
||||
</button>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user