PHP Classes

File: vendor/laravel/framework/src/Illuminate/Foundation/Console/Presets/react-stubs/Example.js

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/laravel/framework/src/Illuminate/Foundation/Console/Presets/react-stubs/Example.js   Download  
File: vendor/laravel/framework/src/Illuminate/Foundation/Console/Presets/react-stubs/Example.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Blogging Platform
Manage blog posts using Laravel and Bootstrap
Author: By
Last change:
Date: 8 months ago
Size: 829 bytes
 

Contents

Class file image Download
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; export default class Example extends Component { render() { return ( <div className="container"> <div className="row"> <div className="col-md-8 col-md-offset-2"> <div className="panel panel-default"> <div className="panel-heading">Example Component</div> <div className="panel-body"> I'm an example component! </div> </div> </div> </div> </div> ); } } if (document.getElementById('example')) { ReactDOM.render(<Example />, document.getElementById('example')); }