__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import {
EBDisplayIcon, BlockProps
} from "@essential-blocks/controls";
const 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 (
<BlockProps.Save attributes={attributes}>
<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>
</BlockProps.Save>
);
};
export default Save;
| 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 |
|