diff --git a/docs/Actions.md b/docs/Actions.md index 3921a53f26a..405aa03eb0f 100644 --- a/docs/Actions.md +++ b/docs/Actions.md @@ -18,7 +18,7 @@ Here is an implementation of the "Approve" button that works perfectly: import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; -import FlatButton from '@material-ui/core/FlatButton'; +import Button from '@material-ui/core/Button'; import { showNotification } from 'react-admin'; import { push } from 'react-router-redux'; @@ -38,7 +38,7 @@ class ApproveButton extends Component { } render() { - return ; + return