mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
commit
f1754c3dc3
@ -350,7 +350,6 @@ import { React } from 'react/addons';
|
|||||||
import { _ } from 'lodash';
|
import { _ } from 'lodash';
|
||||||
import { MyComp } from 'comps/myComp';
|
import { MyComp } from 'comps/myComp';
|
||||||
import { utils } from 'utils/utils';
|
import { utils } from 'utils/utils';
|
||||||
|
|
||||||
function repeatItem1(item, itemIndex) {
|
function repeatItem1(item, itemIndex) {
|
||||||
return React.createElement(MyComp, {}, React.createElement('div', {}, utils.toLower(item.name)));
|
return React.createElement(MyComp, {}, React.createElement('div', {}, utils.toLower(item.name)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user