ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/updates/vendor/laravel/ui/src/Presets/react-stubs/
Upload File :
Current File : //home2/selectio/www/limpiar.in.net/updates/vendor/laravel/ui/src/Presets/react-stubs/Example.jsx

import React from 'react';
import ReactDOM from 'react-dom/client';

function Example() {
    return (
        <div className="container">
            <div className="row justify-content-center">
                <div className="col-md-8">
                    <div className="card">
                        <div className="card-header">Example Component</div>

                        <div className="card-body">I'm an example component!</div>
                    </div>
                </div>
            </div>
        </div>
    );
}

export default Example;

if (document.getElementById('example')) {
    const Index = ReactDOM.createRoot(document.getElementById("example"));

    Index.render(
        <React.StrictMode>
            <Example/>
        </React.StrictMode>
    )
}

Zerion Mini Shell 1.0