2016-07-30 14 views
10

Sol simge olmadan uygulama çubuğu bileşenini kullanmam gerekiyor.IconElementLeft olmadan Uygulama çubuğu bileşeni nasıl ayarlanır?

iconElementLeft özelliğini yok saymayı denedim, ancak çalışmıyor ve henüz simgesi görünmüyor.

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

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

export default AppBar; 

Sol simgeyi kaldırmanın bir yolu var mı?

cevap

25

showMenuIconButton için false'a ayarlayın.

<AppBar 
    title="Title" 
    showMenuIconButton={false}/> 

jsfiddle

İlgili konular