Skip to content

Commit

Permalink
[docs] Switch autosuggest highlighting (mui#12019)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRusskiy authored and Joe Shelby committed Jul 14, 2018
1 parent f42cefb commit a4334b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/demos/autocomplete/IntegrationAutosuggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ function renderSuggestion(suggestion, { query, isHighlighted }) {
<div>
{parts.map((part, index) => {
return part.highlight ? (
<span key={String(index)} style={{ fontWeight: 300 }}>
<span key={String(index)} style={{ fontWeight: 500 }}>
{part.text}
</span>
) : (
<strong key={String(index)} style={{ fontWeight: 500 }}>
<strong key={String(index)} style={{ fontWeight: 300 }}>
{part.text}
</strong>
);
Expand Down

0 comments on commit a4334b8

Please sign in to comment.