Skip to content

Instantly share code, notes, and snippets.

View Chris-Petty's full-sized avatar

Chris Petty Chris-Petty

View GitHub Profile
This file has been truncated, but you can view the full file.
@Chris-Petty
Chris-Petty / ReffyListView.js
Last active September 12, 2016 06:46
Showing refs in renderRow.
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
ListView,
TouchableOpacity
} = React;
// This example itself probably wont run, but the idea is there. Not actually doing anything with the ref though...
import Realm from 'realm';
const IdentitySchema = {
name: 'Identity',
properties: {
name: 'string',
birthday: 'date',
address: 'string',
}
};