1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _index = require('../index');
var _index2 = _interopRequireDefault(_index);
require('./simple.less');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = {
render: function render() {
var h = arguments[0];
return h(
'div',
{ style: { marginBottom: 12 } },
[h(
_index2['default'],
{
attrs: { activeClassName: 'active', activeStyle: { color: 'red' } }
},
[h(
'div',
{
'class': 'normal',
style: {
backgroundColor: 'yellow'
},
on: {
'click': function click() {
return console.log('click div');
}
}
},
['click to active']
)]
)]
);
}
};