What's the right way to float right or left using the material-ui appbar with material-ui-next?

前端 未结 2 2027
无人共我
无人共我 2021-02-01 12:35

I can\'t figure out if I\'m using the right approach to get the login/logout buttons to float right in while using material-ui-next (\"material-ui\": \"^1.0.0-beta.22\",)

<
2条回答
  •  别那么骄傲
    2021-02-01 12:44

    You need to add flex: 1 to your component so it pushes the

    to the rightmost part of the AppBar:

    
      
        
          Title
        
        

提交回复
热议问题