Added accessible modal via react-aria-modal

This commit is contained in:
orangemug
2018-05-11 10:55:32 +01:00
parent 354b2fb3cb
commit 221cd4ffd2
6 changed files with 78 additions and 79 deletions

View File

@@ -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>
}
}