Added missing propType.

This commit is contained in:
orangemug 2018-04-10 15:15:29 +01:00
parent 687c08527d
commit 8ba2123a26

View file

@ -58,7 +58,8 @@ class ToolbarLink extends React.Component {
class ToolbarAction extends React.Component { class ToolbarAction extends React.Component {
static propTypes = { static propTypes = {
children: PropTypes.node, children: PropTypes.node,
onClick: PropTypes.func onClick: PropTypes.func,
wdKey: PropTypes.string
} }
render() { render() {