REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.10 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/extendify_old/src/Library/components/MainButton.jsx
Text
Base64
import { extendifyLogo } from '@library/icons/extendify-logo'; import { useGlobalsStore } from '@library/state/global'; import { useActivityStore } from '@shared/state/activity'; import { __ } from '@wordpress/i18n'; import { Icon } from '@wordpress/icons'; export const MainButton = () => { const { setOpen } = useGlobalsStore(); const { incrementActivity } = useActivityStore(); const handleClick = () => { // Minimize HC if its open window.dispatchEvent(new CustomEvent('extendify-hc:minimize')); setOpen(true); incrementActivity('library-button-click'); }; return ( // biome-ignore lint: allow a button here <div role="button" tabIndex={0} onClick={handleClick} onKeyDown={(e) => { if (!(e.key === 'Enter' || e.key === ' ')) return; handleClick(); }} className="components-button has-icon is-primary h-8 min-w-0 cursor-pointer px-2 xs:h-9 sm:ml-2 xl:pr-3" > <Icon icon={extendifyLogo(__('Design Library', 'extendify-local'))} size={24} /> <span className="ml-1 hidden xl:inline"> {__('Design Library', 'extendify-local')} </span> </div> ); };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
sidebar
DIR
-
drwxr-xr-x
2026-04-28 02:40:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
topbar
DIR
-
drwxr-xr-x
2026-04-28 02:40:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
BlockPreviewButton.jsx
1.57 KB
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MainButton.jsx
1.10 KB
lrw-r--r--
2026-04-16 23:02:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Modal.jsx
4.18 KB
lrw-r--r--
2026-02-27 04:48:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ModalContent.jsx
2.20 KB
lrw-r--r--
2026-02-27 04:48:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).