const React = require("react-native"); const { View, Text, SliderIOS } = React; const styles = { field: { flexDirection: "row", alignItems: "center", paddingTop: 10, paddingBottom: 10 }, title: { width: 140, textAlign: "right", paddingTop: 20, paddingBottom: 20, paddingLeft: 40, paddingRight: 40, fontSize: 16, fontFamily: "Helvetica" }, range: { flex: 1, height: 50 } }; class Field extends React.Component { render () { const { min, max, step, onChange, name, width } = this.props; return {name} ; } } module.exports = Field;