@@ -46,9 +46,8 @@ class About extends Component {
4646 < Text style = { styles . heading } > Components</ Text >
4747 </ View >
4848 < View style = { styles . container } >
49- < Card >
50- < Text style = { styles . cardTitle } > CARD WITH DIVIDER</ Text >
51- < Divider style = { styles . divider } />
49+ < Card
50+ title = 'CARD WITH DIVIDER' >
5251 {
5352 users . map ( ( u , i ) => {
5453 return (
@@ -63,18 +62,16 @@ class About extends Component {
6362 } )
6463 }
6564 </ Card >
66- < Card containerStyle = { { marginTop : 15 } } >
67- < Text style = { styles . cardTitle } > FONTS</ Text >
68- < Divider style = { styles . divider } />
65+ < Card containerStyle = { { marginTop : 15 } } title = 'FONTS' >
6966 < Text style = { styles . fonts } h1 > h1 Heading</ Text >
7067 < Text style = { styles . fonts } h2 > h2 Heading</ Text >
7168 < Text style = { styles . fonts } h3 > h3 Heading</ Text >
7269 < Text style = { styles . fonts } h4 > h4 Heading</ Text >
7370 < Text style = { styles . fonts } > Normal Text</ Text >
7471 </ Card >
75- < Card containerStyle = { { marginTop : 15 } } >
76- < Text style = { styles . cardTitle } > Social Icons </ Text >
77- < Divider style = { styles . divider } / >
72+ < Card
73+ title = 'SOCIAL ICONS'
74+ containerStyle = { { marginTop : 15 } } >
7875 < View style = { styles . social } >
7976 < SocialIcon
8077 type = 'facebook'
@@ -93,9 +90,9 @@ class About extends Component {
9390 />
9491 </ View >
9592 </ Card >
96- < Card containerStyle = { { marginTop : 15 } } >
97- < Text style = { styles . cardTitle } > Social Buttons </ Text >
98- < Divider style = { styles . divider } / >
93+ < Card
94+ containerStyle = { { marginTop : 15 } }
95+ title = 'SOCIAL BUTTONS' >
9996 < View style = { styles . socialButtons } >
10097 < SocialIcon
10198 title = 'Sign In With Facebook'
@@ -129,8 +126,7 @@ class About extends Component {
129126
130127styles = StyleSheet . create ( {
131128 container : {
132- flex : 1 ,
133- margin : 15
129+ flex : 1
134130 } ,
135131 headerContainer : {
136132 marginTop : 60 ,
@@ -147,14 +143,6 @@ styles = StyleSheet.create({
147143 fonts : {
148144 marginBottom : 8
149145 } ,
150- divider : {
151- marginBottom : 15
152- } ,
153- cardTitle : {
154- fontFamily : fonts . ios . bold ,
155- textAlign : 'center' ,
156- marginBottom : 15
157- } ,
158146 user : {
159147 flexDirection : 'row' ,
160148 marginBottom : 6
0 commit comments