mirror of
https://github.com/flarum/core.git
synced 2025-07-17 23:01:17 +02:00
Fix typo and update outdated doc block
This commit is contained in:
@@ -12,13 +12,13 @@ import UsersSearchSource from './UsersSearchSource';
|
|||||||
* The `Search` component displays a menu of as-you-type results from a variety
|
* The `Search` component displays a menu of as-you-type results from a variety
|
||||||
* of sources.
|
* of sources.
|
||||||
*
|
*
|
||||||
* The search box will be 'activated' if the app's seach state's
|
* The search box will be 'activated' if the app's search state's
|
||||||
* getInitialSearch() value is a truthy value. If this is the case, an 'x'
|
* getInitialSearch() value is a truthy value. If this is the case, an 'x'
|
||||||
* button will be shown next to the search field, and clicking it will clear the search.
|
* button will be shown next to the search field, and clicking it will clear the search.
|
||||||
*
|
*
|
||||||
* PROPS:
|
* PROPS:
|
||||||
*
|
*
|
||||||
* - state: AlertState instance.
|
* - state: SearchState instance.
|
||||||
*/
|
*/
|
||||||
export default class Search extends Component {
|
export default class Search extends Component {
|
||||||
init() {
|
init() {
|
||||||
|
Reference in New Issue
Block a user