PHP Classes

File: src/utils/text-parser.ts

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WordPress React Plugin Kit   src/utils/text-parser.ts   Download  
File: src/utils/text-parser.ts
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WordPress React Plugin Kit
Environment to develop new WordPress plugins
Author: By
Last change:
Date: 1 year ago
Size: 254 bytes
 

Contents

Class file image Download
/** * External dependencies */ import parse from 'html-react-parser'; /** * Parse any HTML string into React elements. * * @param html html string to parse. * @return string */ export function parseHtml(html: string) { return parse(html); }