O
O
Oleksandr Tatarinov2018-12-30 19:58:29
css
Oleksandr Tatarinov, 2018-12-30 19:58:29

How to change the caption in material-ui menu?

Hey! I added a menu from https://material-ui.com but I can't figure out how to change the inscription in it. So that there is no Open menu, but just a menu.

<div className="contNav-mobile">
          <Button aria-owns={anchorEl
              ? 'simple-menu'
              : undefined} aria-haspopup="true" onClick={this.handleClick}>
            Open Menu
          </Button>
          <Menu id="simple-menu" anchorEl={anchorEl} open={Boolean(anchorEl)} onClose={this.handleClose}>
            <MenuItem onClick={this.handleClose}>О Комплексе</MenuItem>
            <MenuItem onClick={this.handleClose}>Преимущества</MenuItem>
            <MenuItem onClick={this.handleClose}>Цены</MenuItem>
            <MenuItem onClick={this.handleClose}>Рассрочка</MenuItem>
            <MenuItem onClick={this.handleClose}>Планировки</MenuItem>
            <MenuItem onClick={this.handleClose}>Контакты</MenuItem>
          </Menu>
        </div>

What it looks like now
5c28f92b70e5e368562765.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Yudin, 2018-12-30
@fpsstyle

5c28f9e766fdb019552596.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question