@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
10 lines • 318 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 function searchTemplates(templates?: any[], searchValue?: string): any[];
//# sourceMappingURL=search-templates.d.ts.map