Files
documentation/node_modules/@docusaurus/theme-common/lib/hooks/useSearchPage.d.ts
2024-03-22 03:47:51 +05:30

15 lines
552 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Permits to read/write the current search query string
*/
export declare function useSearchQueryString(): [string, (newValue: string) => void];
/**
* Permits to create links to the search page with the appropriate query string
*/
export declare function useSearchLinkCreator(): (searchValue: string) => string;
//# sourceMappingURL=useSearchPage.d.ts.map