material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

Allow for back button in App bar

Open yhbrandon opened this issue 11 years ago • 2 comments

Following material standards, a need for a back button in the app bar is fairly common. The use of a custom icon used to alleviate this problem, however this has been removed in the latest update. I have extended out the default functionality to allow a back button to be shown based on props. Not sure what exactly the strategy is regarding in app navigation.

yhbrandon avatar Feb 25 '15 17:02 yhbrandon

Thanks for bringing this up @yhbrandon! It seems that we forgot to update the icon prop for AppBar during the transition to using FontIcon. The new replacement prop for icon is iconClassNameLeft. There are also two new props which allow you to add other React Elements on the left and right sides of AppBar. More info about them can be found in the commit's comments here.

mmrtnz avatar Feb 27 '15 23:02 mmrtnz

Thanks!

yhbrandon avatar Mar 03 '15 20:03 yhbrandon