This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*================================================== | |
= Bootstrap 3 Media Queries = | |
==================================================*/ | |
/*========== Mobile First Method ==========*/ | |
/* Custom, iPhone Retina */ | |
@media only screen and (min-width : 320px) { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var trip1 = { | |
destination: "Chennai", | |
id: 1 | |
}; | |
var trip2 = { | |
destination: "Ooty", | |
id: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
import {Platform, StyleSheet, Text, View} from 'react-native'; | |
export default class App extends Component<Props> { | |
render() { | |
return ( | |
<View style={{flex:1,justifyContent:"center",backgroundColor:"#fff", alignItems:"center"}}> | |
<View style={{width:200,height:150,backgroundColor:"red",padding:10}}> | |
<Text style={{fontSize:20, color:"#666"}}>Styled with style props</Text> | |
</View> | |
</View> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
import { Text, View} from 'react-native'; | |
export default class App extends Component<Props> { | |
render() { | |
return ( | |
<View style={{flex:1,justifyContent:"center",backgroundColor:"#fff", alignItems:"stretch"}}> | |
<View style={{flex:1,backgroundColor:"red"}}> | |
<Text style={{fontSize:20, color:"#fff"}}>Item number 1</Text> | |
</View> | |
<View style={{flex:1,backgroundColor:"blue"}}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const styles = StyleSheet.create({ | |
container: { | |
flex:1, | |
justifyContent:"center", | |
backgroundColor:"#fff", | |
alignItems:"stretch" | |
}, | |
title: { | |
fontSize:20, | |
color:"#fff" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View style={styles.container}> | |
<View style={styles.item1}> | |
<Text style={{fontSize:20, color:"#fff"}}>Item number 1</Text> | |
</View> | |
<View style={styles.item2}> | |
<Text style={{fontSize:20, color:"#fff"}}>Item number 1</Text> | |
</View> | |
<View style={styles.item3}> | |
<Text style={{fontSize:20, color:"#fff"}}>Item number 1</Text> | |
</View> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
import { StyleSheet,Text, View} from 'react-native'; | |
import styled from 'styled-components' | |
const Container=styled.View` | |
flex:1; | |
padding:50px 0; | |
justify-content:center; | |
background-color:#f4f4f4; | |
align-items:center | |
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
import { StyleSheet,Text, View} from 'react-native'; | |
import styled from 'styled-components' | |
const Container=styled.View` | |
flex:1; | |
padding:50px 0; | |
justify-content:center; | |
background-color:#f4f4f4; | |
align-items:center | |
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* | |
* @format | |
* @flow | |
* @lint-ignore-every XPLATJSCOPYRIGHT1 | |
*/ | |
import React, { Component } from "react"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { | |
Text, | |
View, | |
StyleSheet, | |
Animated, | |
TouchableOpacity | |
} from "react-native"; | |
export default class Fade extends Component { |
OlderNewer