apeman-react-label

"use strict";
 
var React = require('react'),
    html = require('apeman-react-html'),
    ApLabel = require('../../lib/ap_label'),
    ApLabelStyle = require('../../lib/ap_label_style');
 
(function (window) {
    window.onload = function () {
        React.render(
            React.createElement(ApLabel, {
                    for: 'foo'
                },
                React.createElement('span', {}, 'This is sample label')
            ),
            document.getElementById('demo')
        );
 
        React.render(
            React.createElement(ApLabelStyle, {}),
            document.getElementById('demo-style')
        );
    };
})(window);