File tree Expand file tree Collapse file tree
apps/next-docs/content/components/SubdomainNavBar Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ Search results can be a flat list or grouped by title. Do not mix both formats i
131131Use the ` labels ` prop to localize search text. Any labels you omit fall back to English.
132132
133133``` jsx filename="noinline"
134- const labels = {
134+ const searchProps = {
135135 searchLabel: ' Buscar' ,
136136 closeLabel: ' Cerrar' ,
137137 resultsLabel: ' Resultados' ,
@@ -141,10 +141,6 @@ const labels = {
141141 formatResultsHeading : searchTerm => ` Resultados para «${ searchTerm} »` ,
142142 formatResultsLabel : searchTerm => ` Resultados para ${ searchTerm} ` ,
143143 formatSuggestions : count => ` ${ count} sugerencia${ count === 1 ? ' ' : ' s' } .` ,
144- }
145-
146- const searchProps = {
147- labels,
148144 placeholder: ' Buscar documentación' ,
149145}
150146
You can’t perform that action at this time.
0 commit comments