@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
10 lines • 326 B
TypeScript
/**
* Filters a template list given a search term.
*
* @param {Array} templates Item list
* @param {string} searchValue Search input.
*
* @return {Array} Filtered template list.
*/
export declare function searchTemplates(templates?: any[], searchValue?: string): any[];
//# sourceMappingURL=search-templates.d.ts.map