HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/biblioteka/wp-content/plugins/wp-rollback/src/Rollbacks/resources/layout/Layout.jsx
import Header from './Header';

/**
 * Layout component that provides common page structure with header
 *
 * @param {Object}      props           Component properties
 * @param {JSX.Element} props.children  Content to render within the layout
 * @param {string}      props.className Additional classes for the content wrapper
 * @return {JSX.Element} The layout component
 */
const Layout = ( { children, className = 'wpr-tools-content' } ) => {
    return (
        <>
            <Header />
            <div className={ className }>{ children }</div>
        </>
    );
};

export default Layout;