A simple component used to separate rows, with an optional inset margin on the left or right.
type: number
defaultValue: 0
type: number
defaultValue: 0
<ListView
dataSource={dataSource}
style={styles.list}
renderSeparator={(a, b) => ((Platform.OS === 'ios') && <RowSeparator inset={16} key={a + b} />)}
renderRow={(rowData) => (
<TouchableRow
onPress={() => onSelect(rowData)}
primaryText={rowData.name}
key={rowData.name} />
)}
/>