Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF8 support for Menu Labels #1349

Closed
dbrrt opened this issue Feb 19, 2017 · 2 comments
Closed

UTF8 support for Menu Labels #1349

dbrrt opened this issue Feb 19, 2017 · 2 comments

Comments

@dbrrt
Copy link

dbrrt commented Feb 19, 2017

Hello, I was just wondering if UTF8 characters will be supported in headers for Menu component,

For instance :

<Menu.Item name='thé' active={activeItem === 'thé'} onClick={this.handleItemClick.bind(this)} />
<Menu.Item name='vin' active={activeItem === 'vin'} onClick={this.handleItemClick.bind(this)} />

You'll see a label Menu like this :

The, Vin

@levithomason
Copy link
Member

Duplicate #1340

@levithomason
Copy link
Member

Specific answer: #1340 (comment)

Use the content prop to set the item content. The name prop is the programmatic name, if content is not provided, the name will be Start Cased and used as the content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants