1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00
react-templates/test/data/native/listViewTemplate.rt.js
nino-porcino 46caeea387 Fix , , , , , , , , , ()
* Single child for rt-template (fixes )

* Nested scope functions (fixes )

* Forbid nested rt-import (fixes )

* Vendor prefixes style keys ()

* Renamed test file

* Forbid expressions in style keys ()

* fixed rt-import and AMD ()

* Updated documentation

* Fixed links in README.md

* Sanitize comments (fix )

* Disable comments when es6 (fix#157)

* Added test case for comments

* Simplified TypeScript output

* Test cases for simplified TypeScript output

* Fixed wrong TypeScript output ()

* fix repeat with custom index ()
2016-07-06 11:25:08 +03:00

12 lines
395 B
JavaScript

'use strict';
var React = require('react-native');
var _ = require('lodash');
module.exports = function () {
function renderRow1(rowData) {
return React.createElement(React.Text, {}, rowData);
}
return React.createElement(React.View, {}, React.createElement(React.ListView, {
'dataSource': this.state.dataSource,
'renderRow': renderRow1.bind(this)
}));
};