如何在没有iconElementLeft的情况下设置App栏组件?

slo*_*nzo 11 reactjs material-ui

我需要使用没有左图标的应用栏组件.

我试图忽略iconElementLeft属性,但它不起作用,图标仍然出现.

import React from 'react';
import AppBar from 'material-ui/AppBar';

const AppBar = () => (
  <AppBar
    title="Title"
  />
);

export default AppBar;
Run Code Online (Sandbox Code Playgroud)

有没有办法删除左图标?

QoP*_*QoP 31

设置showMenuIconButton为false.

<AppBar
    title="Title"
    showMenuIconButton={false}/>
Run Code Online (Sandbox Code Playgroud)

的jsfiddle