From b10e8e18dd6bf2ad62f3097c9feae7f34eb4fea6 Mon Sep 17 00:00:00 2001 From: mvanmeerbeck Date: Mon, 4 Mar 2019 12:06:24 +0100 Subject: [PATCH] FlatButton => Button FlatButton doesn't appear to exist anymore https://material-ui.com/guides/migration-v0x/#where-should-i-start-in-a-migration --- docs/Actions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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