UNPKG

@wordpress/editor

Version:
10 lines 389 B
/** * Helper function to get the title of a post item. * This is duplicated from the `@wordpress/fields` package. * `packages/fields/src/actions/utils.ts` * * @param {Object} item The post item. * @return {string} The title of the item, or an empty string if the title is not found. */ export function getItemTitle(item: Object): string; //# sourceMappingURL=get-item-title.d.ts.map