# slider-blocks/2.11.0/src/controls/pro-lock/index.js

GutSlider – All in One Slider and Carousel Blocks for Gutenberg, version 2.11.0. 24 lines.

- Page: https://pluginprobe.com/plugins/slider-blocks/2.11.0/code/src/controls/pro-lock/index.js
- Raw: https://pluginprobe.com/plugins/slider-blocks/2.11.0/raw/src/controls/pro-lock/index.js
- Modified: 2026-02-21T13:53:58+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/slider-blocks/2.11.0/code/src/controls/pro-lock/index.js#L10-L20`.

```javascript
/* eslint-disable no-undef */
/* eslint-disable camelcase */
/**
 * WordPress dependencies
 */
import { __ } from '@wordpress/i18n';

const ProLock = ({ children }) => {
    return (
        <>
            {gutslider_preview?.is_pro === '' ? (
                <div className="gkits-pro-lock-container">
                    {children}
                    <span className="pro-badge">{__('Pro', 'slider-blocks')}</span>
                </div>
            ) : (
                <>{children}</>
            )}
        </>
    );
};

export default ProLock;

```
