@@ -28,7 +28,7 @@ const Dropdown = (props: DropdownProps) => {
2828 closeOnSelect,
2929 clearable,
3030 disabled,
31- localizations ,
31+ labels ,
3232 maxHeight,
3333 multi,
3434 options,
@@ -389,7 +389,7 @@ const Dropdown = (props: DropdownProps) => {
389389 id = { accessibleId + '-value-count' }
390390 className = "dash-dropdown-value-count"
391391 >
392- { localizations ?. selected_count ?. replace (
392+ { labels ?. selected_count ?. replace (
393393 '{num_selected}' ,
394394 `${ sanitizedValues . length } `
395395 ) }
@@ -402,8 +402,8 @@ const Dropdown = (props: DropdownProps) => {
402402 e . preventDefault ( ) ;
403403 handleClear ( ) ;
404404 } }
405- title = { localizations ?. clear_selection }
406- aria-label = { localizations ?. clear_selection }
405+ title = { labels ?. clear_selection }
406+ aria-label = { labels ?. clear_selection }
407407 >
408408 < Cross1Icon />
409409 </ a >
@@ -431,7 +431,7 @@ const Dropdown = (props: DropdownProps) => {
431431 < input
432432 type = "search"
433433 className = "dash-dropdown-search"
434- placeholder = { localizations ?. search }
434+ placeholder = { labels ?. search }
435435 value = { search_value || '' }
436436 autoComplete = "off"
437437 onChange = { e => onInputChange ( e . target . value ) }
@@ -442,7 +442,7 @@ const Dropdown = (props: DropdownProps) => {
442442 type = "button"
443443 className = "dash-dropdown-clear"
444444 onClick = { handleClearSearch }
445- aria-label = { localizations ?. clear_search }
445+ aria-label = { labels ?. clear_search }
446446 >
447447 < Cross1Icon />
448448 </ button >
@@ -456,15 +456,15 @@ const Dropdown = (props: DropdownProps) => {
456456 className = "dash-dropdown-action-button"
457457 onClick = { handleSelectAll }
458458 >
459- { localizations ?. select_all }
459+ { labels ?. select_all }
460460 </ button >
461461 { canDeselectAll && (
462462 < button
463463 type = "button"
464464 className = "dash-dropdown-action-button"
465465 onClick = { handleDeselectAll }
466466 >
467- { localizations ?. deselect_all }
467+ { labels ?. deselect_all }
468468 </ button >
469469 ) }
470470 </ div >
@@ -488,7 +488,7 @@ const Dropdown = (props: DropdownProps) => {
488488 { isOpen && search_value && ! displayOptions . length && (
489489 < div className = "dash-dropdown-options" >
490490 < span className = "dash-dropdown-option" >
491- { localizations ?. no_options_found }
491+ { labels ?. no_options_found }
492492 </ span >
493493 </ div >
494494 ) }
0 commit comments