# cartflows/3.3.0/modules/gutenberg/src/controls/parseIcon.js

CartFlows – Funnel Builder &amp; Checkout Plugin for WooCommerce, version 3.3.0. 12 lines.

- Page: https://pluginprobe.com/plugins/cartflows/3.3.0/code/modules/gutenberg/src/controls/parseIcon.js
- Raw: https://pluginprobe.com/plugins/cartflows/3.3.0/raw/modules/gutenberg/src/controls/parseIcon.js
- Modified: 2022-11-07T12:36:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cartflows/3.3.0/code/modules/gutenberg/src/controls/parseIcon.js#L10-L20`.

```javascript
function parseSVG( svg ) {
	svg = svg.replace( 'far ', '' );
	svg = svg.replace( 'fas ', '' );
	svg = svg.replace( 'fab ', '' );
	svg = svg.replace( 'fa-', '' );
	svg = svg.replace( 'fa ', '' );

	return svg;
}

export default parseSVG;

```
