# cartflows/3.1.0/modules/gutenberg/src/components/separator/index.js

CartFlows – Funnel Builder &amp; Checkout Plugin for WooCommerce, version 3.1.0. 20 lines.

- Page: https://pluginprobe.com/plugins/cartflows/3.1.0/code/modules/gutenberg/src/components/separator/index.js
- Raw: https://pluginprobe.com/plugins/cartflows/3.1.0/raw/modules/gutenberg/src/components/separator/index.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.1.0/code/modules/gutenberg/src/components/separator/index.js#L10-L20`.

```javascript
/**
 * External dependencies
 */
import styles from './editor.lazy.scss';
import React, { useLayoutEffect } from 'react';

const Separator = () => {
	// Add and remove the CSS on the drop and remove of the component.
	useLayoutEffect( () => {
		styles.use();
		return () => {
			styles.unuse();
		};
	}, [] );

	return <div className="spectra-separator" />;
};

export default Separator;

```
