react-native-date-time-picker
Version:
A Date and Time picker for Android more in the iOS selector style.
44 lines (39 loc) • 757 B
JavaScript
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
;
import React, {
AppRegistry,
Component,
StyleSheet,
Text,
View
} from 'react-native';
import DateTimeExamples from './date-time-examples';
class DateTimeExample extends Component {
render() {
return (
<DateTimeExamples />
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
},
});
AppRegistry.registerComponent('DateTimeExample', () => DateTimeExample);