1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00
2014-12-28 11:52:06 +02:00

16 lines
558 B
JavaScript

define([
'react/addons',
'lodash',
'./PlayGround.js'
], function (React, _, playGround) {
'use strict';
return function () {
return React.createElement('div', {}, React.createElement('h1', {}, 'React Templates'), React.createElement(playGround, _.merge({}, {
'ref': 'playground',
'direction': 'horizontal'
}, this.state.samples[0])), React.createElement(playGround, _.merge({}, {
'ref': 'playground',
'direction': 'horizontal'
}, this.state.samples[1])));
};
});