@@ -17,7 +17,6 @@ import {
17
17
useValueAndKey ,
18
18
} from '../../lib'
19
19
import Input from '../../elements/Input'
20
-
21
20
import SearchCategory from './SearchCategory'
22
21
import SearchResult from './SearchResult'
23
22
import SearchResults from './SearchResults'
@@ -48,6 +47,15 @@ export default class Search extends Component {
48
47
PropTypes . object ,
49
48
] ) ,
50
49
50
+ /** Minimum characters to query for results */
51
+ minCharacters : PropTypes . number ,
52
+
53
+ /** Additional text for "No Results" message with less emphasis. */
54
+ noResultsDescription : PropTypes . string ,
55
+
56
+ /** Message to display when there are no results. */
57
+ noResultsMessage : PropTypes . string ,
58
+
51
59
/** Controls whether or not the results menu is displayed. */
52
60
open : PropTypes . bool ,
53
61
@@ -64,16 +72,7 @@ export default class Search extends Component {
64
72
PropTypes . object ,
65
73
] ) ,
66
74
67
- /** Minimum characters to query for results */
68
- minCharacters : PropTypes . number ,
69
-
70
- /** Additional text for "No Results" message with less emphasis. */
71
- noResultsDescription : PropTypes . string ,
72
-
73
- /** Message to display when there are no results. */
74
- noResultsMessage : PropTypes . string ,
75
-
76
- /** Whether the search should automatically select the first result after searching */
75
+ /** Whether the search should automatically select the first result after searching. */
77
76
selectFirstResult : PropTypes . bool ,
78
77
79
78
/** Whether a "no results" message should be shown if no results are found. */
0 commit comments